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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002192/0.002193, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.424/2.424, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7435, allocations: 140.3 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004021/0.7476, allocations: 2.768 MB / 0.9518 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.7493, allocations: 1.049 MB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.7494, allocations: 4.312 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.7501, allocations: 212.2 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.7503, allocations: 59.47 kB / 0.9531 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.7507, allocations: 159.7 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.7511, allocations: 402.2 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.7515, allocations: 214.5 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.7516, allocations: 154.8 kB / 0.954 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.7518, allocations: 192.6 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.7519, allocations: 41 kB / 0.9542 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.7522, allocations: 174 kB / 0.9544 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.7524, allocations: 261.1 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002222/0.7527, allocations: 356.4 kB / 0.955 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007964/0.7535, allocations: 0.9331 MB / 0.9559 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7535, allocations: 0 / 0.9559 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7535, allocations: 3.938 kB / 0.9559 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.7535, allocations: 0 / 0.9559 GB, free: 3.984 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.00132/0.7548, allocations: 1.131 MB / 0.957 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7549, allocations: 12.2 kB / 0.957 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.7562, allocations: 234.6 kB / 0.9572 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7574, allocations: 0.728 MB / 0.9579 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.7574, allocations: 26.19 kB / 0.9579 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.7575, allocations: 28.53 kB / 0.958 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/0.7582, allocations: 382.2 kB / 0.9583 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.7583, allocations: 7.875 kB / 0.9583 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.7583, allocations: 14.75 kB / 0.9584 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.7583, allocations: 8.25 kB / 0.9584 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.7593, allocations: 423.3 kB / 0.9588 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.7622, allocations: 1.782 MB / 0.9605 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.7629, allocations: 219.4 kB / 0.9607 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.7631, allocations: 97.44 kB / 0.9608 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.7632, allocations: 9.672 kB / 0.9608 GB, free: 480 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.7632, allocations: 31.56 kB / 0.9609 GB, free: 440 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.7632, allocations: 4 kB / 0.9609 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001036/0.7643, allocations: 370 kB / 0.9612 GB, free: 236 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.7643, allocations: 61.7 kB / 0.9613 GB, free: 164 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.7658, allocations: 1.244 MB / 0.9625 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.7659, allocations: 31.95 kB / 0.9625 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.7662, allocations: 434.1 kB / 0.9629 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.7663, allocations: 66.84 kB / 0.963 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.7664, allocations: 56.86 kB / 0.963 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7665, allocations: 317.3 kB / 0.9633 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.7669, allocations: 143.7 kB / 0.9635 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.7673, allocations: 199 kB / 0.9637 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006439/0.7679, allocations: 286 kB / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7679, allocations: 0 / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009356/0.7689, allocations: 463.1 kB / 0.9644 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.7689, allocations: 7.156 kB / 0.9644 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7689, allocations: 6.188 kB / 0.9644 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7689, allocations: 6.188 kB / 0.9644 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.7693, allocations: 57.98 kB / 0.9645 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.7693, allocations: 7.5 kB / 0.9645 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.7696, allocations: 36.33 kB / 0.9645 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.7697, allocations: 11.59 kB / 0.9645 GB, free: 14.05 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.0003195/0.77, allocations: 269.1 kB / 0.9648 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.7701, allocations: 81.44 kB / 0.9649 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008922/0.771, allocations: 332.4 kB / 0.9652 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.771, allocations: 1.438 kB / 0.9652 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.771, allocations: 4.75 kB / 0.9652 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7711, allocations: 0.7188 kB / 0.9652 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.7728, allocations: 1 MB / 0.9662 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7728, allocations: 5.25 kB / 0.9662 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.7731, allocations: 48.66 kB / 0.9662 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.7731, allocations: 2.625 kB / 0.9662 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.7732, allocations: 4 kB / 0.9662 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.7732, allocations: 6.734 kB / 0.9662 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7732, allocations: 5.375 kB / 0.9662 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.774, allocations: 436.7 kB / 0.9666 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.7742, allocations: 199.9 kB / 0.9668 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/0.7743, allocations: 7.625 kB / 0.9668 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.7746, allocations: 19.98 kB / 0.9669 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.7747, allocations: 24.86 kB / 0.9669 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.7747, allocations: 13.55 kB / 0.9669 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001123/0.7758, allocations: 0.9024 MB / 0.9678 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7759, allocations: 0 / 0.9678 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004783/0.7763, allocations: 106.2 kB / 0.9679 GB, free: 11.75 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.0002178/0.7766, allocations: 119 kB / 0.968 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007743/0.7773, allocations: 292.4 kB / 0.9683 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7774, allocations: 5.438 kB / 0.9683 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.7777, allocations: 98.23 kB / 0.9684 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.7782, allocations: 69.67 kB / 0.9684 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.7807, allocations: 1.609 MB / 0.97 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.7813, allocations: 1.005 MB / 0.971 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.7817, allocations: 99.55 kB / 0.9711 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.7819, allocations: 48.52 kB / 0.9711 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of SimCode: time 1.023e-05/0.7819, allocations: 4 kB / 0.9711 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of Templates: time 0.01357/0.7955, allocations: 5.467 MB / 0.9765 GB, free: 5.469 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/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