Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.0009131/0.0009131, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009392/0.0009392, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9646/0.9646, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.511/2.511, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.94e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003018/0.003048, allocations: 1.151 MB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.004792, allocations: 1.08 MB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.004917, allocations: 0 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.061e-05/0.004987, allocations: 31.66 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.005139, allocations: 35.61 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.00542, allocations: 87.84 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.005673, allocations: 236.1 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.005882, allocations: 103.2 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003352/0.006217, allocations: 151.6 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.006327, allocations: 67.77 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.006366, allocations: 20 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.006444, allocations: 20 kB / 0.8416 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.006484, allocations: 47.84 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.006544, allocations: 59.83 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.006791, allocations: 159.2 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006794, allocations: 4 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.523e-06/0.006796, allocations: 0 / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.006801, allocations: 0 / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006094/0.00741, allocations: 400.4 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.007448, allocations: 8.625 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.007616, allocations: 40.91 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.007849, allocations: 178 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.007881, allocations: 16.88 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.007906, allocations: 24.38 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.008168, allocations: 161.3 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.00818, allocations: 4.172 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.008196, allocations: 4.375 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.008205, allocations: 4.375 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.008317, allocations: 59.41 kB / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000645/0.008962, allocations: 379.9 kB / 0.843 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.009143, allocations: 93.64 kB / 0.8431 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.009188, allocations: 28.86 kB / 0.8432 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.009205, allocations: 0 / 0.8432 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.009242, allocations: 46.39 kB / 0.8432 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.009244, allocations: 0 / 0.8432 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0002181/0.009462, allocations: 97.66 kB / 0.8433 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.009493, allocations: 51.41 kB / 0.8433 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.009634, allocations: 183.5 kB / 0.8435 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.009649, allocations: 29.7 kB / 0.8436 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.00972, allocations: 136.4 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.009762, allocations: 51.56 kB / 0.8437 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.009834, allocations: 57.66 kB / 0.8438 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.009939, allocations: 334.7 kB / 0.8441 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.009977, allocations: 12 kB / 0.8441 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.01005, allocations: 62.19 kB / 0.8442 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.01016, allocations: 94.97 kB / 0.8443 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01017, allocations: 0 / 0.8443 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001807/0.01035, allocations: 112 kB / 0.8444 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01036, allocations: 8 kB / 0.8444 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01037, allocations: 0 / 0.8444 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01039, allocations: 7.984 kB / 0.8444 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.01052, allocations: 31.92 kB / 0.8444 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01053, allocations: 3.938 kB / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.0106, allocations: 19.89 kB / 0.8444 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01061, allocations: 12.14 kB / 0.8445 GB, free: 7.996 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.815e-05/0.01071, allocations: 126.7 kB / 0.8446 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.01075, allocations: 11.98 kB / 0.8446 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.01078, allocations: 21.81 kB / 0.8446 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.01079, allocations: 0 / 0.8446 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01079, allocations: 7.922 kB / 0.8446 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.0108, allocations: 0 / 0.8446 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.011, allocations: 129.8 kB / 0.8447 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.011, allocations: 0 / 0.8447 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.01109, allocations: 27.92 kB / 0.8448 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01109, allocations: 3.938 kB / 0.8448 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.01111, allocations: 8 kB / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01111, allocations: 0 / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01111, allocations: 0 / 0.8448 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.0113, allocations: 191.3 kB / 0.845 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.01132, allocations: 19.84 kB / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.01134, allocations: 0 / 0.845 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.01143, allocations: 15.98 kB / 0.845 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.0115, allocations: 15.97 kB / 0.845 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.01151, allocations: 8 kB / 0.845 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.01155, allocations: 42.31 kB / 0.8451 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01155, allocations: 0 / 0.8451 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002869/0.01184, allocations: 39.83 kB / 0.8451 GB, free: 7.297 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001331/0.01197, allocations: 91.61 kB / 0.8452 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.01215, allocations: 79.66 kB / 0.8453 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.01215, allocations: 4.062 kB / 0.8453 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.01238, allocations: 48.77 kB / 0.8453 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.01264, allocations: 23.91 kB / 0.8453 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.01341, allocations: 328.9 kB / 0.8456 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.018e-05/0.01347, allocations: 75.98 kB / 0.8457 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000104/0.01357, allocations: 29.47 kB / 0.8457 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.01368, allocations: 71.38 kB / 0.8458 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.01368, allocations: 0 / 0.8458 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of Templates: time 0.005204/0.01889, allocations: 1.556 MB / 0.8473 GB, free: 5.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.356413118075579]