Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 100.1 kB / 15.88 MB, free: 12 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.001303/0.001303, allocations: 199.9 kB / 16.79 MB, free: 6.828 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.2 MB / 0.6649 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 0.8125 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6409/0.6424, allocations: 140.3 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003058/0.6455, allocations: 2.313 MB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.6466, allocations: 0.9461 MB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.6467, allocations: 2.125 kB / 0.9528 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.6473, allocations: 184.9 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.232e-05/0.6474, allocations: 55.12 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.6476, allocations: 93.02 kB / 0.9531 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.6478, allocations: 219.1 kB / 0.9533 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.648, allocations: 80.23 kB / 0.9534 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.6481, allocations: 76.75 kB / 0.9534 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.6482, allocations: 104.8 kB / 0.9535 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.6482, allocations: 14.41 kB / 0.9536 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.6485, allocations: 153.3 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.6486, allocations: 206.6 kB / 0.9539 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.6487, allocations: 258.9 kB / 0.9541 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/0.6491, allocations: 0.5595 MB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6491, allocations: 0 / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6492, allocations: 0 / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.6492, allocations: 0 / 0.9547 GB, free: 5.223 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001056/0.6502, allocations: 0.9686 MB / 0.9556 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6503, allocations: 9.469 kB / 0.9556 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.6508, allocations: 123.5 kB / 0.9558 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.6515, allocations: 0.5887 MB / 0.9563 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.6515, allocations: 12.97 kB / 0.9564 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.6516, allocations: 16.8 kB / 0.9564 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.6519, allocations: 196.5 kB / 0.9566 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.6519, allocations: 192 / 0.9566 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.652, allocations: 7.938 kB / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.652, allocations: 3.844 kB / 0.9566 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.6524, allocations: 226.1 kB / 0.9568 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.6534, allocations: 0.9252 MB / 0.9577 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.654, allocations: 310.5 kB / 0.958 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.6542, allocations: 110.2 kB / 0.9581 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.6548, allocations: 234.1 kB / 0.9583 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.6549, allocations: 36.12 kB / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.6549, allocations: 0 / 0.9583 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0007795/0.6557, allocations: 405.4 kB / 0.9587 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.6557, allocations: 53.72 kB / 0.9588 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.6568, allocations: 0.9947 MB / 0.9598 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6568, allocations: 26.8 kB / 0.9598 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.657, allocations: 347.2 kB / 0.9601 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.6571, allocations: 31.39 kB / 0.9601 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.6571, allocations: 30.61 kB / 0.9602 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.6572, allocations: 307 kB / 0.9605 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.6574, allocations: 103.3 kB / 0.9606 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.6576, allocations: 116.9 kB / 0.9607 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.6579, allocations: 223.9 kB / 0.9609 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6579, allocations: 4 kB / 0.9609 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005022/0.6584, allocations: 318.6 kB / 0.9612 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6585, allocations: 8.781 kB / 0.9612 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6585, allocations: 5.188 kB / 0.9612 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6585, allocations: 1.188 kB / 0.9612 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6587, allocations: 22.8 kB / 0.9612 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6587, allocations: 1.469 kB / 0.9612 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.6589, allocations: 20.98 kB / 0.9613 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.6589, allocations: 3.75 kB / 0.9613 GB, free: 0.6914 MB / 0.7169 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.0002202/0.6591, allocations: 249.6 kB / 0.9615 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.6592, allocations: 74.91 kB / 0.9616 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.6598, allocations: 329.3 kB / 0.9619 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6598, allocations: 3.562 kB / 0.9619 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6598, allocations: 0 / 0.9619 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.6598, allocations: 3.984 kB / 0.9619 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.6603, allocations: 0.5209 MB / 0.9624 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6603, allocations: 4.656 kB / 0.9624 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.6605, allocations: 28.11 kB / 0.9624 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.6605, allocations: 0.9375 kB / 0.9624 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6605, allocations: 8.906 kB / 0.9624 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6605, allocations: 1.125 kB / 0.9624 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6605, allocations: 0 / 0.9624 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.6611, allocations: 402.8 kB / 0.9628 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.6613, allocations: 190 kB / 0.963 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.6613, allocations: 0 / 0.963 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.6615, allocations: 8.547 kB / 0.963 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.6616, allocations: 7.203 kB / 0.963 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.6616, allocations: 6.219 kB / 0.963 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008824/0.6625, allocations: 0.715 MB / 0.9637 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6625, allocations: 4 kB / 0.9637 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003756/0.6629, allocations: 68.56 kB / 0.9638 GB, free: 15.01 MB / 0.7325 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.0002034/0.6631, allocations: 114.6 kB / 0.9639 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.6636, allocations: 216.5 kB / 0.9641 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6636, allocations: 0 / 0.9641 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.6638, allocations: 107.7 kB / 0.9642 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.6642, allocations: 54.95 kB / 0.9643 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.6662, allocations: 1.384 MB / 0.9656 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.6667, allocations: 0.9499 MB / 0.9665 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.6668, allocations: 37.17 kB / 0.9666 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6668, allocations: 0 / 0.9666 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of Templates: time 0.0118/0.6786, allocations: 7.177 MB / 0.9736 GB, free: 9.031 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches