Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.001797/0.001797, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 63.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9751/0.9766, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.005316/0.982, allocations: 2.945 MB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.9846, allocations: 1.099 MB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.9853, allocations: 15.88 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.9858, allocations: 87.12 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.9862, allocations: 75.19 kB / 1.213 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.9873, allocations: 346.2 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.9884, allocations: 0.7107 MB / 1.214 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008183/0.9892, allocations: 496.4 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.9896, allocations: 243.1 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.99, allocations: 254.7 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.9901, allocations: 68 kB / 1.215 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.9903, allocations: 80 kB / 1.215 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.9904, allocations: 143.6 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.9907, allocations: 278.6 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008931/0.9916, allocations: 0.7569 MB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9916, allocations: 0 / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9917, allocations: 0 / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.74e-05/0.9917, allocations: 0 / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002004/0.9937, allocations: 0.8791 MB / 1.217 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9937, allocations: 8.031 kB / 1.217 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.9939, allocations: 64.28 kB / 1.217 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007512/0.9947, allocations: 452.5 kB / 1.217 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.9947, allocations: 37.38 kB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.9948, allocations: 52.36 kB / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.9959, allocations: 0.5355 MB / 1.218 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.9959, allocations: 0 / 1.218 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.9959, allocations: 23.94 kB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.996, allocations: 16 kB / 1.218 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.997, allocations: 399.6 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.9994, allocations: 1.833 MB / 1.22 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/1, allocations: 377.4 kB / 1.22 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/1.001, allocations: 171.7 kB / 1.22 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/1.001, allocations: 4 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005413/1.001, allocations: 249.6 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 2.746e-06/1.001, allocations: 0 / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.001312/1.003, allocations: 484.7 kB / 1.221 GB, free: 248 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.003, allocations: 85.09 kB / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/1.003, allocations: 397.5 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/1.003, allocations: 45.64 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.004, allocations: 256.2 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.709e-05/1.004, allocations: 94.78 kB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.004, allocations: 114.2 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.004, allocations: 350.8 kB / 1.222 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/1.004, allocations: 153 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/1.005, allocations: 265.9 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/1.006, allocations: 411.3 kB / 1.223 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.006, allocations: 0 / 1.223 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001121/1.007, allocations: 0.5184 MB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/1.007, allocations: 34.11 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.007, allocations: 8 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.007, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/1.007, allocations: 79.81 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.007, allocations: 4 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/1.008, allocations: 75.42 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/1.008, allocations: 16 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.toOn.t_start,$PRE.preHeatCoil.toOn.t_start,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0002392/1.008, allocations: 213.7 kB / 1.224 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/1.008, allocations: 47.38 kB / 1.224 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/1.009, allocations: 386.3 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.009, allocations: 0 / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.009, allocations: 7.984 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/1.009, allocations: 136.5 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/1.009, allocations: 15.98 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/1.01, allocations: 39.89 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.01, allocations: 43.89 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001186/1.011, allocations: 0.5549 MB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001378/1.012, allocations: 0.7875 MB / 1.226 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004117/1.013, allocations: 167.9 kB / 1.226 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002818/1.013, allocations: 271.1 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of Backend: time 6.31e-07/1.013, allocations: 0 / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001104/1.014, allocations: 396 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001658/1.016, allocations: 1.164 MB / 1.228 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.01221/1.028, allocations: 5.856 MB / 1.234 GB, free: 3.105 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches