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.001358/0.001358, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001493/0.001493, allocations: 208.3 kB / 22.99 MB, free: 4.965 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.276/3.276, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.002109/0.002109, allocations: 62.84 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 181.9 MB / 1.365 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002905/0.3419, allocations: 1.218 MB / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.3435, allocations: 1.108 MB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.3437, allocations: 11.94 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.3439, allocations: 31.59 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.883e-05/0.344, allocations: 39.61 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.3443, allocations: 119.8 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.3447, allocations: 300.4 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.3449, allocations: 121.4 kB / 1.368 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.3452, allocations: 123.6 kB / 1.368 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3453, allocations: 115.3 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.3454, allocations: 32 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.3455, allocations: 36 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.3455, allocations: 63.83 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3456, allocations: 103.5 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.3461, allocations: 426.1 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3461, allocations: 4 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3461, allocations: 4 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.3462, allocations: 0 / 1.368 GB, free: 9.82 MB / 1.061 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.0009125/0.3471, allocations: 489.7 kB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3471, allocations: 12.02 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.3473, allocations: 36.75 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.3479, allocations: 259.4 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.3479, allocations: 21.03 kB / 1.369 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.348, allocations: 32.3 kB / 1.369 GB, free: 8.926 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.3486, allocations: 268.3 kB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3486, allocations: 192 / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3486, allocations: 15.94 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3486, allocations: 4 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.3491, allocations: 190.5 kB / 1.37 GB, free: 8.445 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.3501, allocations: 0.5435 MB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.3506, allocations: 166.5 kB / 1.37 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3508, allocations: 69 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.3508, allocations: 3.938 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3508, allocations: 42.56 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.3508, allocations: 0 / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006882/0.3515, allocations: 231.1 kB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.3516, allocations: 55.41 kB / 1.371 GB, free: 7.273 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3518, allocations: 219.6 kB / 1.371 GB, free: 7.047 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.3518, allocations: 29.7 kB / 1.371 GB, free: 7.012 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.352, allocations: 168.7 kB / 1.371 GB, free: 6.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.352, allocations: 59.53 kB / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.3521, allocations: 53.92 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3523, allocations: 334.8 kB / 1.372 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3525, allocations: 60.42 kB / 1.372 GB, free: 6.324 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3527, allocations: 131.7 kB / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.3531, allocations: 172.8 kB / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3531, allocations: 3.938 kB / 1.372 GB, free: 5.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004978/0.3536, allocations: 225.3 kB / 1.372 GB, free: 5.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3536, allocations: 8 kB / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3536, allocations: 0 / 1.372 GB, free: 5.742 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3536, allocations: 8 kB / 1.372 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3538, allocations: 43.91 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3538, allocations: 4 kB / 1.372 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3539, allocations: 27.83 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.354, allocations: 8.219 kB / 1.372 GB, free: 5.652 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.0001784/0.3541, allocations: 168 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.3542, allocations: 15.91 kB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.3542, allocations: 21.81 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3542, allocations: 4 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3542, allocations: 0 / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3542, allocations: 3.984 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.3545, allocations: 213.2 kB / 1.373 GB, free: 5.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3545, allocations: 3.938 kB / 1.373 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.3547, allocations: 27.92 kB / 1.373 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3547, allocations: 4 kB / 1.373 GB, free: 5.164 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3547, allocations: 3.984 kB / 1.373 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3547, allocations: 0 / 1.373 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3547, allocations: 0 / 1.373 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.3552, allocations: 282.1 kB / 1.373 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.3552, allocations: 27.72 kB / 1.373 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3552, allocations: 8 kB / 1.373 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.3554, allocations: 15.98 kB / 1.373 GB, free: 4.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.3555, allocations: 27.95 kB / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3555, allocations: 4 kB / 1.373 GB, free: 4.789 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001248/0.3556, allocations: 140.2 kB / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3556, allocations: 0 / 1.373 GB, free: 4.652 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000295/0.3559, allocations: 51.84 kB / 1.373 GB, free: 4.602 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.0001423/0.356, allocations: 111.2 kB / 1.373 GB, free: 4.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3565, allocations: 163.7 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3565, allocations: 3.938 kB / 1.373 GB, free: 4.316 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.3567, allocations: 73.97 kB / 1.374 GB, free: 4.246 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.357, allocations: 42.48 kB / 1.374 GB, free: 4.207 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/0.3579, allocations: 431.7 kB / 1.374 GB, free: 3.754 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.358, allocations: 138.9 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.3581, allocations: 27.42 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/0.3581, allocations: 0 / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of Templates: time 0.005486/0.3636, allocations: 2.824 MB / 1.377 GB, free: 0.7617 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.230841707903892]