Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007777/0.007777, allocations: 100.8 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 199 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.28, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003455/0.2835, allocations: 2.271 MB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.285, allocations: 0.9408 MB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2852, allocations: 4 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.2858, allocations: 191.1 kB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.286, allocations: 75.44 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.2864, allocations: 111.7 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.2867, allocations: 223.1 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.2868, allocations: 89.62 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.287, allocations: 91.52 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2871, allocations: 99.44 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.2872, allocations: 16 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.2875, allocations: 159.8 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2876, allocations: 215.2 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.2879, allocations: 266 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007485/0.2886, allocations: 0.727 MB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2886, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2886, allocations: 0 / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.2887, allocations: 4 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001365/0.29, allocations: 0.9979 MB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2901, allocations: 8.031 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.2901, allocations: 46.73 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.2907, allocations: 120.3 kB / 1.173 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008514/0.2916, allocations: 0.6098 MB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2916, allocations: 4.375 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.2916, allocations: 16.38 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.2921, allocations: 195.2 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2921, allocations: 3.938 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.2921, allocations: 8 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2921, allocations: 0 / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.2926, allocations: 239.8 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.2939, allocations: 0.91 MB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.2945, allocations: 314.5 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2948, allocations: 112.8 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007539/0.2955, allocations: 241 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2956, allocations: 30.56 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2956, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008623/0.2964, allocations: 405 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2965, allocations: 59.39 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2977, allocations: 0.9935 MB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.2977, allocations: 25.7 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.298, allocations: 344.1 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.2981, allocations: 35.73 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.2981, allocations: 26.08 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2982, allocations: 310 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.2985, allocations: 99.95 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2987, allocations: 122.5 kB / 1.178 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.2991, allocations: 218.4 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2991, allocations: 4 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006155/0.2997, allocations: 328.9 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2998, allocations: 4 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2998, allocations: 0 / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2998, allocations: 4 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.3, allocations: 28.03 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3, allocations: 4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3002, allocations: 15.89 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3002, allocations: 4 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.3005, allocations: 253.6 kB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3006, allocations: 79.45 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.3013, allocations: 336.4 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3013, allocations: 0 / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3013, allocations: 0 / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3013, allocations: 0 / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.3019, allocations: 0.5285 MB / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3019, allocations: 0 / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.302, allocations: 23.97 kB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3021, allocations: 0 / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3021, allocations: 8.188 kB / 1.179 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3021, allocations: 4 kB / 1.179 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3021, allocations: 3.938 kB / 1.179 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.3027, allocations: 410.8 kB / 1.18 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.3029, allocations: 188.5 kB / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.303, allocations: 8 kB / 1.18 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3032, allocations: 4 kB / 1.18 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.3032, allocations: 3.984 kB / 1.18 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3033, allocations: 4 kB / 1.18 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009533/0.3042, allocations: 0.7215 MB / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3042, allocations: 0 / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003939/0.3046, allocations: 67.89 kB / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.3057, allocations: 0.9578 MB / 1.182 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005124/0.3062, allocations: 223.8 kB / 1.182 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3062, allocations: 0 / 1.182 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.3064, allocations: 107.9 kB / 1.182 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.3069, allocations: 52 kB / 1.182 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/0.3155, allocations: 6.384 MB / 1.188 GB, free: 172 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.3161, allocations: 0.9408 MB / 1.189 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.3164, allocations: 81.33 kB / 1.189 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.3167, allocations: 219.4 kB / 1.189 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of SimCode: time 7.22e-07/0.3167, allocations: 0 / 1.189 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.3459, allocations: 11.81 MB / 1.201 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/8.781, allocations: 0 / 1.201 GB, free: 3.297 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches