Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 216.1 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 75.08 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4006, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004813/0.4054, allocations: 2.785 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.4079, allocations: 1.11 MB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.4082, allocations: 19.88 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.4085, allocations: 75.14 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.4087, allocations: 79.27 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.4096, allocations: 359.5 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000822/0.4104, allocations: 0.7146 MB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.411, allocations: 408.9 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.4114, allocations: 259.1 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.4117, allocations: 250.8 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.4118, allocations: 72 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.4119, allocations: 72 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.4121, allocations: 147.5 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4123, allocations: 214.9 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009384/0.4132, allocations: 0.7549 MB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4132, allocations: 0 / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4132, allocations: 0 / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.4132, allocations: 0 / 1.334 GB, free: 9.645 MB / 1.029 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.001855/0.4151, allocations: 0.8267 MB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4151, allocations: 11.97 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.4155, allocations: 80.53 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007787/0.4162, allocations: 371.1 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.4163, allocations: 37.38 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/0.4164, allocations: 52.31 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.4175, allocations: 0.5645 MB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.4175, allocations: 7.938 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.4175, allocations: 16 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.4176, allocations: 12 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009862/0.4185, allocations: 387.7 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.4208, allocations: 1.583 MB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.4218, allocations: 349.2 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.4222, allocations: 153.6 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.4222, allocations: 7.984 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005866/0.4228, allocations: 249.7 kB / 1.339 GB, free: 4.777 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 6.132e-06/0.4228, allocations: 7.984 kB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.001342/0.4242, allocations: 473 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.4242, allocations: 85.11 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.4246, allocations: 348.4 kB / 1.34 GB, free: 3.855 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/0.4247, allocations: 45.83 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.4249, allocations: 264.4 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.425, allocations: 99.2 kB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4252, allocations: 106.1 kB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4254, allocations: 350.8 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004407/0.4258, allocations: 182.6 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.4263, allocations: 294.9 kB / 1.341 GB, free: 2.461 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/0.4271, allocations: 407.4 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.4272, allocations: 4 kB / 1.341 GB, free: 2.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001127/0.4283, allocations: 0.5398 MB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.4283, allocations: 41.64 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4283, allocations: 4 kB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.4284, allocations: 8.406 kB / 1.342 GB, free: 1.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.4287, allocations: 79.81 kB / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.4287, allocations: 11.94 kB / 1.342 GB, free: 1.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/0.4291, allocations: 63.69 kB / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.4291, allocations: 16 kB / 1.342 GB, free: 1.227 MB / 1.029 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.0002635/0.4294, allocations: 205.7 kB / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.4294, allocations: 51.62 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.4295, allocations: 44.06 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4296, allocations: 0 / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4296, allocations: 3.938 kB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4297, allocations: 75.59 kB / 1.342 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.4298, allocations: 4 kB / 1.342 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.43, allocations: 39.95 kB / 1.342 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.4302, allocations: 43.94 kB / 1.342 GB, free: 0.7578 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001182/0.4313, allocations: 0.5352 MB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001386/0.4327, allocations: 0.7629 MB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00041/0.4331, allocations: 164 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002472/0.4334, allocations: 223.1 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of Backend: time 8.71e-07/0.4334, allocations: 0 / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.4345, allocations: 391.8 kB / 1.344 GB, free: 14.65 MB / 1.045 GB Notification: Performance of SimCode: time 0.001634/0.4362, allocations: 1.185 MB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of Templates: time 0.01222/0.4484, allocations: 6.269 MB / 1.352 GB, free: 7.23 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 9.41850613799761]