Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.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.001745/0.001745, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002704/0.002704, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.266/3.266, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") [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.002294/0.002294, allocations: 70.77 kB / 1.178 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4063, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002767/0.409, allocations: 1.299 MB / 1.355 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.4106, allocations: 1.139 MB / 1.357 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.4108, allocations: 4 kB / 1.357 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.411, allocations: 31.55 kB / 1.357 GB, free: 5.477 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.4111, allocations: 39.61 kB / 1.357 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.4114, allocations: 119.8 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.4117, allocations: 300.4 kB / 1.357 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.412, allocations: 125.4 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.4123, allocations: 131.4 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.4124, allocations: 131.4 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.4125, allocations: 32 kB / 1.357 GB, free: 4.613 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.4125, allocations: 32 kB / 1.357 GB, free: 4.582 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.4126, allocations: 71.7 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4127, allocations: 131.3 kB / 1.358 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.4132, allocations: 418.2 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.4132, allocations: 0 / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4132, allocations: 0 / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.4132, allocations: 0 / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008584/0.4141, allocations: 0.4937 MB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.4141, allocations: 8.031 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.4143, allocations: 36.75 kB / 1.359 GB, free: 3.402 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.4149, allocations: 263.4 kB / 1.359 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.4149, allocations: 21.03 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.4149, allocations: 32.36 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004816/0.4154, allocations: 234.6 kB / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4154, allocations: 4.125 kB / 1.359 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.4155, allocations: 15.94 kB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4155, allocations: 8 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.4159, allocations: 178.5 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.4169, allocations: 0.6598 MB / 1.36 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.4174, allocations: 170.7 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.4176, allocations: 64.83 kB / 1.36 GB, free: 1.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.4176, allocations: 8.062 kB / 1.36 GB, free: 1.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4176, allocations: 38.55 kB / 1.36 GB, free: 1.625 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.4176, allocations: 0 / 1.36 GB, free: 1.625 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.0006301/0.4182, allocations: 231.6 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.4183, allocations: 59.36 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.4185, allocations: 219.6 kB / 1.361 GB, free: 1.098 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.4186, allocations: 29.7 kB / 1.361 GB, free: 1.062 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4187, allocations: 164.7 kB / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.4187, allocations: 55.56 kB / 1.361 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.589e-05/0.4188, allocations: 57.88 kB / 1.361 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.419, allocations: 334.8 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.4192, allocations: 68.42 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.4194, allocations: 120.9 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.4197, allocations: 170.6 kB / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4197, allocations: 4 kB / 1.362 GB, free: 40 kB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004975/0.4202, allocations: 226.6 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4203, allocations: 11.98 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4203, allocations: 0 / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4203, allocations: 8.156 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.4205, allocations: 47.91 kB / 1.362 GB, free: 15.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4205, allocations: 4 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.4206, allocations: 23.88 kB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.4206, allocations: 8 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001528/0.4208, allocations: 154.4 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.4208, allocations: 23.86 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.4209, allocations: 25.8 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4209, allocations: 4 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4209, allocations: 0 / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4209, allocations: 0 / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.4212, allocations: 280.4 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4212, allocations: 0 / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.4214, allocations: 23.92 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.4214, allocations: 7.984 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4214, allocations: 4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4214, allocations: 4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4214, allocations: 0 / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.4219, allocations: 277.5 kB / 1.363 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.4219, allocations: 23.8 kB / 1.363 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.4219, allocations: 4 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4221, allocations: 15.98 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.4222, allocations: 31.95 kB / 1.363 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4222, allocations: 4 kB / 1.363 GB, free: 14.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001213/0.4223, allocations: 149.4 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4223, allocations: 0 / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003003/0.4226, allocations: 43.89 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001468/0.4227, allocations: 115.1 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.4232, allocations: 171.7 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4232, allocations: 0 / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.4234, allocations: 77.44 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.4237, allocations: 32.38 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.4245, allocations: 423.7 kB / 1.364 GB, free: 13.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.4249, allocations: 0.7564 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.425, allocations: 27.42 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.425, allocations: 0 / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Templates: time 0.004919/0.4299, allocations: 2.768 MB / 1.367 GB, free: 10.18 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.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: 11.659410282009048]