Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001794/0.001794, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.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.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.84 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9262/0.9278, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.004678/0.9325, allocations: 3.118 MB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.9355, allocations: 1.786 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.9358, allocations: 11.94 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009933/0.9368, allocations: 306.3 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.9373, allocations: 190.8 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009234/0.9383, allocations: 409.6 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.9391, allocations: 0.8042 MB / 1.174 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.9398, allocations: 0.5326 MB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.9401, allocations: 298.8 kB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.9405, allocations: 314.5 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-05/0.9406, allocations: 64 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.9408, allocations: 119.9 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.941, allocations: 215.3 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.9413, allocations: 353.8 kB / 1.176 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.9423, allocations: 0.9066 MB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.9423, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9423, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.9423, allocations: 0 / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001723/0.9441, allocations: 1.14 MB / 1.178 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.9441, allocations: 11.98 kB / 1.178 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.9443, allocations: 96.33 kB / 1.178 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.945, allocations: 0.5208 MB / 1.178 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.9451, allocations: 87.25 kB / 1.178 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/0.9452, allocations: 68 kB / 1.178 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.9463, allocations: 0.656 MB / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.9463, allocations: 3.938 kB / 1.179 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.9464, allocations: 24 kB / 1.179 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.9464, allocations: 12 kB / 1.179 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.9472, allocations: 419.5 kB / 1.179 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.9502, allocations: 2.705 MB / 1.182 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.9509, allocations: 357.3 kB / 1.182 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.9511, allocations: 179.7 kB / 1.183 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.9512, allocations: 11.92 kB / 1.183 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.9517, allocations: 268.6 kB / 1.183 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.943e-06/0.9517, allocations: 0 / 1.183 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.0009468/0.9526, allocations: 476.2 kB / 1.183 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.9528, allocations: 222.2 kB / 1.184 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/0.9534, allocations: 0.6445 MB / 1.184 GB, free: 2.141 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.9535, allocations: 53.69 kB / 1.184 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.9538, allocations: 393 kB / 1.185 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.964e-05/0.9539, allocations: 111.2 kB / 1.185 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.9541, allocations: 158.6 kB / 1.185 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.9544, allocations: 382.7 kB / 1.185 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.9546, allocations: 149.9 kB / 1.185 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.9551, allocations: 376.5 kB / 1.186 GB, free: 448 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.9557, allocations: 438.8 kB / 1.186 GB, free: 15.92 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9558, allocations: 0 / 1.186 GB, free: 15.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009459/0.9567, allocations: 0.5674 MB / 1.187 GB, free: 15.35 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.9567, allocations: 12.03 kB / 1.187 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.9568, allocations: 8 kB / 1.187 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.9568, allocations: 8 kB / 1.187 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.957, allocations: 75.83 kB / 1.187 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.9571, allocations: 15.94 kB / 1.187 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.9573, allocations: 67.55 kB / 1.187 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.9574, allocations: 28 kB / 1.187 GB, free: 15.14 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition1.t_start,$PRE.transition1.t_start,transition2.t_start,$PRE.transition2.t_start,transition3.t_start,$PRE.transition3.t_start,transition4.t_start,$PRE.transition4.t_start,transition5.t_start,$PRE.transition5.t_start,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.outPort.occupied,transition3.enableFire,transition2.enableFire,transition2.localCondition,transition1.enableFire,transition1.localCondition,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003221/0.9577, allocations: 277.5 kB / 1.187 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.189e-05/0.9578, allocations: 75.53 kB / 1.187 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.9586, allocations: 387.6 kB / 1.188 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.9586, allocations: 0 / 1.188 GB, free: 14.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9586, allocations: 4 kB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.9587, allocations: 144.6 kB / 1.188 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.9588, allocations: 16 kB / 1.188 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.959, allocations: 23.92 kB / 1.188 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.9591, allocations: 55.88 kB / 1.188 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009303/0.9601, allocations: 0.8259 MB / 1.189 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009406/0.961, allocations: 0.9405 MB / 1.19 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002794/0.9613, allocations: 167.9 kB / 1.19 GB, free: 12.18 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005036/0.9618, allocations: 411 kB / 1.19 GB, free: 11.78 MB / 0.92 GB Notification: Performance of Backend: time 8.01e-07/0.9619, allocations: 0 / 1.19 GB, free: 11.78 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002937/0.9648, allocations: 0.6998 MB / 1.191 GB, free: 11.23 MB / 0.92 GB Notification: Performance of SimCode: time 0.002185/0.967, allocations: 1.585 MB / 1.192 GB, free: 9.602 MB / 0.92 GB Notification: Performance of Templates: time 0.0137/0.9807, allocations: 6.395 MB / 1.199 GB, free: 3.258 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches