Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 390.3 MB / 402.8 MB, free: 6.75 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.3 MB / 0.7915 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 103.9 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.321e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2598, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9278/1.188, allocations: 159.3 MB / 1.374 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.188, allocations: 88.31 kB / 1.374 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05839/1.246, allocations: 15.58 MB / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.518e-06/1.246, allocations: 0 / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.232e-05/1.247, allocations: 27.92 kB / 1.39 GB, free: 13.5 MB / 0.8542 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.00201/1.249, allocations: 0.9026 MB / 1.39 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/1.249, allocations: 12.03 kB / 1.391 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/1.249, allocations: 94.88 kB / 1.391 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.25, allocations: 458.5 kB / 1.391 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/1.25, allocations: 82.25 kB / 1.391 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.251, allocations: 63.44 kB / 1.391 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/1.252, allocations: 0.6476 MB / 1.392 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/1.252, allocations: 11.92 kB / 1.392 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.895e-05/1.253, allocations: 25.31 kB / 1.392 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/1.253, allocations: 12 kB / 1.392 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/1.254, allocations: 402.8 kB / 1.392 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/1.259, allocations: 2.699 MB / 1.395 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/1.26, allocations: 356 kB / 1.395 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/1.261, allocations: 173.8 kB / 1.395 GB, free: 8.223 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/1.261, allocations: 11.92 kB / 1.395 GB, free: 8.211 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006436/1.261, allocations: 268.6 kB / 1.396 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=43): time 4.899e-06/1.261, allocations: 0 / 1.396 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.001114/1.262, allocations: 364.9 kB / 1.396 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/1.263, allocations: 225.3 kB / 1.396 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.264, allocations: 0.5737 MB / 1.397 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/1.264, allocations: 57.06 kB / 1.397 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/1.264, allocations: 366.7 kB / 1.397 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.264, allocations: 111.1 kB / 1.397 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/1.264, allocations: 17.62 kB / 1.397 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002702/1.265, allocations: 385.2 kB / 1.398 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/1.265, allocations: 146.6 kB / 1.398 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/1.266, allocations: 363.4 kB / 1.398 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/1.266, allocations: 162 kB / 1.398 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.266, allocations: 4 kB / 1.398 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001362/1.268, allocations: 0.545 MB / 1.399 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/1.268, allocations: 8 kB / 1.399 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.268, allocations: 4 kB / 1.399 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/1.268, allocations: 12 kB / 1.399 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/1.268, allocations: 89.38 kB / 1.399 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/1.268, allocations: 8 kB / 1.399 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/1.269, allocations: 82.67 kB / 1.399 GB, free: 5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/1.269, allocations: 27.12 kB / 1.399 GB, free: 4.977 MB / 0.8542 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,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002611/1.269, allocations: 180 kB / 1.399 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.269, allocations: 67.25 kB / 1.399 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/1.27, allocations: 393.9 kB / 1.4 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/1.271, allocations: 4 kB / 1.4 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.271, allocations: 7.938 kB / 1.4 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.271, allocations: 0 / 1.4 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/1.273, allocations: 1.034 MB / 1.401 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.273, allocations: 0 / 1.401 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/1.273, allocations: 38.72 kB / 1.401 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/1.273, allocations: 4 kB / 1.401 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/1.273, allocations: 14.17 kB / 1.401 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/1.273, allocations: 11.94 kB / 1.401 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.273, allocations: 0 / 1.401 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/1.274, allocations: 0.5673 MB / 1.401 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/1.274, allocations: 150.1 kB / 1.401 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.274, allocations: 14.86 kB / 1.401 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/1.275, allocations: 34.73 kB / 1.401 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.275, allocations: 63.61 kB / 1.402 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/1.275, allocations: 23.42 kB / 1.402 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007161/1.276, allocations: 424.2 kB / 1.402 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.51e-07/1.276, allocations: 0 / 1.402 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008801/1.277, allocations: 132.5 kB / 1.402 GB, free: 2.293 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/1.278, allocations: 445.5 kB / 1.403 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009392/1.279, allocations: 415.8 kB / 1.403 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.279, allocations: 4.188 kB / 1.403 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000418/1.28, allocations: 187.8 kB / 1.403 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/1.28, allocations: 98.62 kB / 1.403 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/1.282, allocations: 0.8519 MB / 1.404 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/1.283, allocations: 0.9611 MB / 1.405 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003664/1.283, allocations: 80.67 kB / 1.405 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.284, allocations: 47.11 kB / 1.405 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of SimCode: time 3.2e-07/1.284, allocations: 8 kB / 1.405 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.01953/1.303, allocations: 6.152 MB / 1.411 GB, free: 9.5 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches