Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001505/0.001505, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.001279/0.001279, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004647/1.019, allocations: 2.936 MB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002601/1.021, allocations: 1.095 MB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/1.022, allocations: 15.94 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003668/1.022, allocations: 79.14 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003627/1.023, allocations: 83.19 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/1.024, allocations: 346.2 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008958/1.025, allocations: 0.7223 MB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/1.025, allocations: 492.4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/1.026, allocations: 255 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/1.026, allocations: 250.8 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.885e-05/1.026, allocations: 68 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/1.026, allocations: 79.94 kB / 1.174 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/1.026, allocations: 143.6 kB / 1.174 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/1.027, allocations: 270.7 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007851/1.027, allocations: 0.7608 MB / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.027, allocations: 0 / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.027, allocations: 0 / 1.175 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.027, allocations: 0 / 1.175 GB, free: 12.31 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001643/1.029, allocations: 0.8791 MB / 1.176 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.029, allocations: 12.88 kB / 1.176 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/1.029, allocations: 60.28 kB / 1.176 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006708/1.03, allocations: 452.5 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/1.03, allocations: 41.38 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/1.03, allocations: 48.31 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/1.031, allocations: 0.5394 MB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.031, allocations: 0 / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/1.031, allocations: 16 kB / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/1.031, allocations: 12 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009468/1.032, allocations: 407.6 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/1.034, allocations: 1.833 MB / 1.179 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/1.035, allocations: 361.5 kB / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/1.036, allocations: 175.7 kB / 1.179 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/1.036, allocations: 8 kB / 1.179 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/1.036, allocations: 250.8 kB / 1.18 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/1.036, allocations: 3.938 kB / 1.18 GB, free: 7.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.001306/1.037, allocations: 485.4 kB / 1.18 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.038, allocations: 85.09 kB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/1.038, allocations: 401.5 kB / 1.181 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/1.038, allocations: 41.7 kB / 1.181 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.038, allocations: 252.2 kB / 1.181 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/1.038, allocations: 98.64 kB / 1.181 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.038, allocations: 106.2 kB / 1.181 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.039, allocations: 358.8 kB / 1.181 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/1.039, allocations: 157 kB / 1.181 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/1.039, allocations: 265.8 kB / 1.182 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/1.04, allocations: 407.4 kB / 1.182 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.04, allocations: 0 / 1.182 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001115/1.041, allocations: 0.5299 MB / 1.183 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.041, allocations: 33.7 kB / 1.183 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.041, allocations: 4 kB / 1.183 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.041, allocations: 4.406 kB / 1.183 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/1.042, allocations: 75.88 kB / 1.183 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/1.042, allocations: 15.92 kB / 1.183 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/1.042, allocations: 75.42 kB / 1.183 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/1.042, allocations: 16 kB / 1.183 GB, free: 3.488 MB / 0.9044 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.0002497/1.043, allocations: 213.7 kB / 1.183 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.443e-05/1.043, allocations: 47.38 kB / 1.183 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009553/1.044, allocations: 382.2 kB / 1.183 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.044, allocations: 0 / 1.183 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.044, allocations: 4 kB / 1.183 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/1.044, allocations: 148.5 kB / 1.184 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/1.044, allocations: 12 kB / 1.184 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/1.044, allocations: 31.95 kB / 1.184 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.044, allocations: 47.94 kB / 1.184 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001212/1.045, allocations: 0.5425 MB / 1.184 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001421/1.047, allocations: 0.7954 MB / 1.185 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004035/1.047, allocations: 176.4 kB / 1.185 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002959/1.048, allocations: 263.2 kB / 1.185 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of Backend: time 5.91e-07/1.048, allocations: 0 / 1.185 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001085/1.049, allocations: 410.4 kB / 1.186 GB, free: 388 kB / 0.9044 GB Notification: Performance of SimCode: time 0.001488/1.05, allocations: 1.154 MB / 1.187 GB, free: 15.18 MB / 0.92 GB Notification: Performance of Templates: time 0.01041/1.061, allocations: 5.67 MB / 1.192 GB, free: 9.555 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches