Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 390.5 MB / 398 MB, free: 10.9 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.001681/0.001681, allocations: 184.4 kB / 491.2 MB, free: 1.531 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009908/0.0009908, allocations: 95.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.582e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.304, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.364, allocations: 158.4 MB / 1.367 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/1.364, allocations: 86 kB / 1.367 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03131/1.395, allocations: 14.42 MB / 1.381 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.395, allocations: 3.781 kB / 1.381 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-05/1.395, allocations: 15.5 kB / 1.381 GB, free: 31.08 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001194/1.397, allocations: 0.8431 MB / 1.382 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.397, allocations: 7.5 kB / 1.382 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/1.397, allocations: 85.55 kB / 1.382 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005775/1.397, allocations: 449.1 kB / 1.383 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/1.397, allocations: 53.56 kB / 1.383 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/1.398, allocations: 40.34 kB / 1.383 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004619/1.398, allocations: 320.8 kB / 1.383 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/1.399, allocations: 0.5338 MB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.399, allocations: 3.844 kB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/1.399, allocations: 7.781 kB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.399, allocations: 11.53 kB / 1.383 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/1.401, allocations: 2.564 MB / 1.386 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/1.401, allocations: 333.7 kB / 1.386 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/1.402, allocations: 163.5 kB / 1.386 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/1.402, allocations: 7.016 kB / 1.386 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/1.402, allocations: 261 kB / 1.387 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/1.402, allocations: 0 / 1.387 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43): time 0.0004973/1.402, allocations: 360.8 kB / 1.387 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/1.402, allocations: 216.6 kB / 1.387 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/1.403, allocations: 0.5164 MB / 1.388 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/1.403, allocations: 45 kB / 1.388 GB, free: 26.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/1.403, allocations: 350.1 kB / 1.388 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/1.403, allocations: 101.6 kB / 1.388 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/1.403, allocations: 3.938 kB / 1.388 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001958/1.404, allocations: 381.1 kB / 1.389 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/1.404, allocations: 123 kB / 1.389 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/1.404, allocations: 310.5 kB / 1.389 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/1.404, allocations: 138.4 kB / 1.389 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.404, allocations: 0 / 1.389 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005456/1.405, allocations: 478.1 kB / 1.39 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.405, allocations: 9.359 kB / 1.39 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.405, allocations: 8.312 kB / 1.39 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.405, allocations: 11.25 kB / 1.39 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/1.405, allocations: 76.27 kB / 1.39 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.405, allocations: 11.47 kB / 1.39 GB, free: 25.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/1.405, allocations: 30.58 kB / 1.39 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/1.405, allocations: 25.91 kB / 1.39 GB, free: 25.67 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001384/1.405, allocations: 154.7 kB / 1.39 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/1.406, allocations: 68.59 kB / 1.39 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/1.406, allocations: 384.9 kB / 1.39 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.406, allocations: 3.844 kB / 1.39 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.406, allocations: 3.844 kB / 1.39 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.406, allocations: 3.984 kB / 1.39 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/1.407, allocations: 0.9817 MB / 1.391 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.407, allocations: 0 / 1.391 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/1.407, allocations: 30.64 kB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.407, allocations: 3.844 kB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/1.407, allocations: 7.922 kB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.407, allocations: 3.906 kB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.407, allocations: 3.938 kB / 1.391 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/1.408, allocations: 0.5575 MB / 1.392 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/1.408, allocations: 146.4 kB / 1.392 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/1.408, allocations: 11.64 kB / 1.392 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/1.408, allocations: 15.52 kB / 1.392 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.408, allocations: 54.2 kB / 1.392 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.409, allocations: 18.48 kB / 1.392 GB, free: 24.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003201/1.409, allocations: 369 kB / 1.392 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.409, allocations: 4 kB / 1.392 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004564/1.409, allocations: 107.8 kB / 1.393 GB, free: 24.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,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): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0008326/1.41, allocations: 411.2 kB / 1.393 GB, free: 24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004579/1.411, allocations: 366.1 kB / 1.393 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.411, allocations: 3.688 kB / 1.393 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/1.411, allocations: 190.9 kB / 1.394 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/1.411, allocations: 70.97 kB / 1.394 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/1.412, allocations: 0.815 MB / 1.394 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/1.413, allocations: 0.9447 MB / 1.395 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001976/1.413, allocations: 78.05 kB / 1.395 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/1.413, allocations: 45.89 kB / 1.395 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.413, allocations: 0 / 1.395 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of Templates: time 0.008974/1.422, allocations: 5.197 MB / 1.401 GB, free: 20.14 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches