Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.7 MB / 0.7634 GB, free: 15.19 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=540,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=540,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 1.108 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.16, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004906/1.165, allocations: 2.972 MB / 1.275 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002404/1.167, allocations: 1.108 MB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/1.167, allocations: 14.53 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002805/1.168, allocations: 78.27 kB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/1.168, allocations: 77.39 kB / 1.277 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008585/1.169, allocations: 356.6 kB / 1.277 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009899/1.17, allocations: 0.7161 MB / 1.278 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006064/1.17, allocations: 403.7 kB / 1.278 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/1.171, allocations: 250.3 kB / 1.278 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/1.171, allocations: 259 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/1.171, allocations: 70.31 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/1.171, allocations: 78.11 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/1.171, allocations: 142.5 kB / 1.279 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/1.172, allocations: 270.9 kB / 1.279 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/1.173, allocations: 0.7548 MB / 1.28 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.173, allocations: 0 / 1.28 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.173, allocations: 0 / 1.28 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.217e-05/1.173, allocations: 3.938 kB / 1.28 GB, free: 3.215 MB / 0.9981 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.001776/1.174, allocations: 0.898 MB / 1.281 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.174, allocations: 8.938 kB / 1.281 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/1.175, allocations: 63.77 kB / 1.281 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/1.175, allocations: 443.9 kB / 1.281 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/1.175, allocations: 43.17 kB / 1.281 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.176, allocations: 46.92 kB / 1.281 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/1.177, allocations: 0.5371 MB / 1.282 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.177, allocations: 9.094 kB / 1.282 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/1.177, allocations: 20.56 kB / 1.282 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/1.177, allocations: 15.84 kB / 1.282 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/1.178, allocations: 397.5 kB / 1.282 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/1.18, allocations: 1.849 MB / 1.284 GB, free: 364 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009531/1.181, allocations: 334.4 kB / 1.284 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/1.182, allocations: 160.7 kB / 1.284 GB, free: 148 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/1.182, allocations: 8.375 kB / 1.284 GB, free: 144 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005616/1.182, allocations: 255.8 kB / 1.285 GB, free: 4 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/1.182, allocations: 0 / 1.285 GB, free: 4 kB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.001406/1.184, allocations: 487.6 kB / 1.285 GB, free: 15.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/1.184, allocations: 88.73 kB / 1.285 GB, free: 15.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/1.184, allocations: 403 kB / 1.286 GB, free: 15.51 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/1.184, allocations: 41.38 kB / 1.286 GB, free: 15.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/1.185, allocations: 261.9 kB / 1.286 GB, free: 15.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.185, allocations: 105.5 kB / 1.286 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/1.185, allocations: 107.2 kB / 1.286 GB, free: 15.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002021/1.185, allocations: 350.6 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/1.186, allocations: 157.3 kB / 1.287 GB, free: 14.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/1.186, allocations: 265.8 kB / 1.287 GB, free: 14.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008595/1.187, allocations: 408.2 kB / 1.287 GB, free: 14.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.187, allocations: 4 kB / 1.287 GB, free: 14.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001191/1.188, allocations: 0.5229 MB / 1.288 GB, free: 14.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/1.188, allocations: 36.25 kB / 1.288 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.188, allocations: 2.5 kB / 1.288 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/1.188, allocations: 6.812 kB / 1.288 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/1.189, allocations: 75.52 kB / 1.288 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/1.189, allocations: 10.5 kB / 1.288 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/1.189, allocations: 80.44 kB / 1.288 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/1.189, allocations: 18.88 kB / 1.288 GB, free: 13.97 MB / 1.014 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.0003227/1.189, allocations: 206.1 kB / 1.288 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/1.189, allocations: 47.44 kB / 1.288 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/1.19, allocations: 387.3 kB / 1.289 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.19, allocations: 6.125 kB / 1.289 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.19, allocations: 0 / 1.289 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.19, allocations: 2.062 kB / 1.289 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/1.192, allocations: 0.9521 MB / 1.289 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.192, allocations: 1.156 kB / 1.289 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/1.193, allocations: 51.62 kB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.193, allocations: 2.094 kB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/1.193, allocations: 8.625 kB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/1.193, allocations: 3.094 kB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.193, allocations: 0.7969 kB / 1.29 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/1.194, allocations: 0.6609 MB / 1.29 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/1.194, allocations: 152 kB / 1.29 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/1.194, allocations: 13.81 kB / 1.29 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/1.195, allocations: 34.7 kB / 1.29 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/1.195, allocations: 46.48 kB / 1.29 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/1.195, allocations: 9.906 kB / 1.29 GB, free: 12.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003538/1.195, allocations: 269.2 kB / 1.291 GB, free: 12.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.195, allocations: 0 / 1.291 GB, free: 12.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004701/1.196, allocations: 100.5 kB / 1.291 GB, free: 12.34 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 21 (preHeatCoil.toOn.t_start,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOff.active,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 5 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y,preHeatCoil.toOn.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/1.196, allocations: 124.5 kB / 1.291 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001055/1.197, allocations: 423.9 kB / 1.291 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.197, allocations: 0 / 1.291 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004615/1.197, allocations: 166.7 kB / 1.291 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/1.198, allocations: 89.55 kB / 1.292 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.2, allocations: 0.7815 MB / 1.292 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/1.2, allocations: 0.8308 MB / 1.293 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.2, allocations: 42.61 kB / 1.293 GB, free: 10.77 MB / 1.014 GB Notification: Performance of SimCode: time 6.52e-07/1.2, allocations: 0 / 1.293 GB, free: 10.77 MB / 1.014 GB Notification: Performance of Templates: time 0.01344/1.214, allocations: 6.014 MB / 1.299 GB, free: 10.02 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches