Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.001641/0.001641, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5598, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003359/0.5632, allocations: 2.731 MB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.5646, allocations: 1.088 MB / 0.9535 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.5647, allocations: 4.531 kB / 0.9535 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.5652, allocations: 212.7 kB / 0.9537 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.5654, allocations: 86.98 kB / 0.9537 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.5658, allocations: 187 kB / 0.9539 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.5661, allocations: 394.2 kB / 0.9543 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.5663, allocations: 220.2 kB / 0.9545 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.5665, allocations: 150 kB / 0.9547 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.5666, allocations: 180.2 kB / 0.9548 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.5667, allocations: 44.69 kB / 0.9549 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.567, allocations: 169.6 kB / 0.955 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.5672, allocations: 262.1 kB / 0.9553 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.5674, allocations: 353.3 kB / 0.9556 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.568, allocations: 0.9383 MB / 0.9565 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.568, allocations: 0 / 0.9565 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.568, allocations: 0 / 0.9565 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.5681, allocations: 1.5 kB / 0.9565 GB, free: 3.98 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00114/0.5692, allocations: 1.132 MB / 0.9576 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5692, allocations: 13.56 kB / 0.9577 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.5693, allocations: 68.34 kB / 0.9577 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.5706, allocations: 238.2 kB / 0.9579 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.5718, allocations: 0.7288 MB / 0.9587 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5719, allocations: 22.09 kB / 0.9587 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.5719, allocations: 31.81 kB / 0.9587 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.5727, allocations: 386.2 kB / 0.9591 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5727, allocations: 0 / 0.9591 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.5727, allocations: 11.5 kB / 0.9591 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5727, allocations: 7.188 kB / 0.9591 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009934/0.5737, allocations: 424.3 kB / 0.9595 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.5764, allocations: 1.789 MB / 0.9612 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.5771, allocations: 214.8 kB / 0.9614 GB, free: 460 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.5774, allocations: 94.06 kB / 0.9615 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.5774, allocations: 12.55 kB / 0.9616 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.5774, allocations: 43.86 kB / 0.9616 GB, free: 352 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.5774, allocations: 5.531 kB / 0.9616 GB, free: 348 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001037/0.5785, allocations: 371.7 kB / 0.962 GB, free: 148 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.5785, allocations: 52.62 kB / 0.962 GB, free: 84 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.5799, allocations: 1.245 MB / 0.9632 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.58, allocations: 26.89 kB / 0.9632 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.5803, allocations: 430.7 kB / 0.9637 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.5804, allocations: 66.5 kB / 0.9637 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.5805, allocations: 53.52 kB / 0.9638 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.5806, allocations: 320.7 kB / 0.9641 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.5809, allocations: 143.8 kB / 0.9642 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.5814, allocations: 203.2 kB / 0.9644 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.582, allocations: 278 kB / 0.9647 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5821, allocations: 0 / 0.9647 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009349/0.583, allocations: 467.7 kB / 0.9651 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.583, allocations: 5.875 kB / 0.9651 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.583, allocations: 5 kB / 0.9651 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5831, allocations: 3.281 kB / 0.9651 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.5834, allocations: 66.05 kB / 0.9652 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5834, allocations: 6.625 kB / 0.9652 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.5837, allocations: 37.23 kB / 0.9652 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.5837, allocations: 6.812 kB / 0.9652 GB, free: 13.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002861/0.584, allocations: 273.4 kB / 0.9655 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5842, allocations: 81.38 kB / 0.9656 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.585, allocations: 326.3 kB / 0.9659 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5851, allocations: 2.719 kB / 0.9659 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5851, allocations: 7.984 kB / 0.9659 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5851, allocations: 5.25 kB / 0.9659 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.5867, allocations: 1 MB / 0.9669 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5867, allocations: 1.344 kB / 0.9669 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.587, allocations: 52.52 kB / 0.9669 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.587, allocations: 2.75 kB / 0.9669 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5871, allocations: 6.844 kB / 0.9669 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5871, allocations: 2.625 kB / 0.9669 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5871, allocations: 2.625 kB / 0.9669 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.5879, allocations: 445.5 kB / 0.9674 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.5881, allocations: 199.7 kB / 0.9676 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.5882, allocations: 6.984 kB / 0.9676 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.5885, allocations: 17.02 kB / 0.9676 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.5886, allocations: 27.92 kB / 0.9676 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.5886, allocations: 11.23 kB / 0.9676 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001047/0.5896, allocations: 0.898 MB / 0.9685 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5897, allocations: 0 / 0.9685 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004509/0.5901, allocations: 109.9 kB / 0.9686 GB, free: 11.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001157/0.5913, allocations: 0.9865 MB / 0.9696 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007831/0.5921, allocations: 285.6 kB / 0.9698 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5921, allocations: 1.25 kB / 0.9698 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.5924, allocations: 105.7 kB / 0.9699 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.5929, allocations: 66.05 kB / 0.97 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.6035, allocations: 7.612 MB / 0.9774 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.6041, allocations: 0.9954 MB / 0.9784 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003625/0.6045, allocations: 104.6 kB / 0.9785 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.6049, allocations: 299.3 kB / 0.9788 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6049, allocations: 4 kB / 0.9788 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.6356, allocations: 13.47 MB / 0.992 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.946, allocations: 14.56 kB / 0.992 GB, free: 5.863 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches