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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001119/0.001119, allocations: 115.8 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.001101/0.001101, allocations: 186.6 kB / 17.35 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.636/2.636, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 1.07 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004786/1.016, allocations: 2.944 MB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002375/1.018, allocations: 1.114 MB / 1.23 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/1.019, allocations: 15.94 kB / 1.23 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000364/1.019, allocations: 71.2 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003934/1.02, allocations: 83.2 kB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/1.021, allocations: 351.1 kB / 1.231 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001023/1.022, allocations: 0.7146 MB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007494/1.022, allocations: 0.4886 MB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/1.023, allocations: 243.2 kB / 1.232 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/1.023, allocations: 254.7 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/1.023, allocations: 72 kB / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/1.023, allocations: 80 kB / 1.233 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/1.024, allocations: 135.6 kB / 1.233 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/1.024, allocations: 278.6 kB / 1.233 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008526/1.025, allocations: 0.7593 MB / 1.234 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.025, allocations: 0 / 1.234 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.233e-06/1.025, allocations: 0 / 1.234 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.317e-05/1.025, allocations: 0 / 1.234 GB, free: 5.938 MB / 0.9512 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.0019/1.027, allocations: 0.8925 MB / 1.235 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.027, allocations: 16.02 kB / 1.235 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/1.027, allocations: 64.56 kB / 1.235 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/1.028, allocations: 448.8 kB / 1.235 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/1.028, allocations: 37.38 kB / 1.235 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/1.028, allocations: 52.38 kB / 1.235 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/1.029, allocations: 0.5316 MB / 1.236 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/1.029, allocations: 4 kB / 1.236 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/1.029, allocations: 20 kB / 1.236 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.029, allocations: 19.94 kB / 1.236 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009937/1.03, allocations: 399.6 kB / 1.236 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/1.032, allocations: 1.837 MB / 1.238 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/1.033, allocations: 364.1 kB / 1.238 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/1.034, allocations: 180.1 kB / 1.238 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/1.034, allocations: 4 kB / 1.238 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005288/1.034, allocations: 253.5 kB / 1.239 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 3.426e-06/1.034, allocations: 0 / 1.239 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.00123/1.035, allocations: 488.7 kB / 1.239 GB, free: 136 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.036, allocations: 85.11 kB / 1.239 GB, free: 32 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/1.036, allocations: 413.5 kB / 1.24 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/1.036, allocations: 41.7 kB / 1.24 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/1.036, allocations: 256.6 kB / 1.24 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/1.036, allocations: 103.3 kB / 1.24 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.036, allocations: 110.2 kB / 1.24 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.037, allocations: 358.8 kB / 1.24 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/1.037, allocations: 153 kB / 1.241 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/1.037, allocations: 265.9 kB / 1.241 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007467/1.038, allocations: 407.4 kB / 1.241 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.038, allocations: 4 kB / 1.241 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001026/1.039, allocations: 0.5148 MB / 1.242 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/1.039, allocations: 42.09 kB / 1.242 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.039, allocations: 8 kB / 1.242 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.039, allocations: 4 kB / 1.242 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/1.04, allocations: 75.83 kB / 1.242 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/1.04, allocations: 7.984 kB / 1.242 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003616/1.04, allocations: 71.59 kB / 1.242 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/1.04, allocations: 23.98 kB / 1.242 GB, free: 13.07 MB / 0.9669 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.0002347/1.04, allocations: 205.6 kB / 1.242 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/1.04, allocations: 51.64 kB / 1.242 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008831/1.041, allocations: 391.2 kB / 1.243 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.041, allocations: 0 / 1.243 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.041, allocations: 0 / 1.243 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.042, allocations: 156.7 kB / 1.243 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/1.042, allocations: 8 kB / 1.243 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/1.042, allocations: 35.95 kB / 1.243 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.042, allocations: 51.88 kB / 1.243 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001116/1.043, allocations: 0.54 MB / 1.243 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00129/1.044, allocations: 0.7952 MB / 1.244 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003916/1.045, allocations: 175.9 kB / 1.244 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002685/1.045, allocations: 263.2 kB / 1.245 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of Backend: time 7.81e-07/1.045, allocations: 0 / 1.245 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.046, allocations: 399.1 kB / 1.245 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001475/1.048, allocations: 1.175 MB / 1.246 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of Templates: time 0.01145/1.059, allocations: 5.677 MB / 1.252 GB, free: 3.109 MB / 0.9669 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