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.001373/0.001373, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001721/0.001721, allocations: 181 kB / 23.36 MB, free: 1.129 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.9641/0.9641, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.446/2.446, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.064e-06/2.064e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.698e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001807/0.001834, allocations: 1.093 MB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003, allocations: 1.096 MB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.003096, allocations: 4 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.454e-05/0.00315, allocations: 23.67 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.003282, allocations: 31.69 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.003544, allocations: 95.77 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.003728, allocations: 224.2 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.003895, allocations: 99.2 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.004142, allocations: 167.5 kB / 0.8414 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.004223, allocations: 59.8 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.004253, allocations: 20 kB / 0.8415 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.792e-05/0.0043, allocations: 24 kB / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.57e-05/0.004336, allocations: 47.83 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.004382, allocations: 59.84 kB / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.004582, allocations: 155.3 kB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004584, allocations: 0 / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.123e-06/0.004585, allocations: 0 / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.004589, allocations: 0 / 0.8417 GB, free: 11.01 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.0004022/0.004991, allocations: 412.3 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.005026, allocations: 8.625 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.005132, allocations: 36.91 kB / 0.8422 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.005303, allocations: 178 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.005325, allocations: 16.88 kB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.005345, allocations: 16.38 kB / 0.8424 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.005514, allocations: 157.3 kB / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005521, allocations: 192 / 0.8425 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.005535, allocations: 16.38 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.005541, allocations: 4.375 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.724e-05/0.005608, allocations: 55.41 kB / 0.8426 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.006015, allocations: 379.9 kB / 0.8429 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.006136, allocations: 90.47 kB / 0.843 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.002e-05/0.006166, allocations: 24.84 kB / 0.8431 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.006186, allocations: 4 kB / 0.8431 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.006207, allocations: 42.47 kB / 0.8431 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.006208, allocations: 4 kB / 0.8431 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=17): time 0.0001451/0.006353, allocations: 95.94 kB / 0.8432 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002942/0.006648, allocations: 55.41 kB / 0.8433 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.006739, allocations: 187.5 kB / 0.8434 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.00675, allocations: 29.64 kB / 0.8435 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.006796, allocations: 132.5 kB / 0.8436 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.006824, allocations: 47.56 kB / 0.8436 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.006871, allocations: 57.64 kB / 0.8437 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.006943, allocations: 334.7 kB / 0.844 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.006964, allocations: 20 kB / 0.844 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.00701, allocations: 66.8 kB / 0.8441 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.431e-05/0.007084, allocations: 88.94 kB / 0.8442 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007086, allocations: 3.938 kB / 0.8442 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001118/0.007198, allocations: 111.7 kB / 0.8443 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.00721, allocations: 8 kB / 0.8443 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.007214, allocations: 0 / 0.8443 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.007226, allocations: 4 kB / 0.8443 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.007312, allocations: 27.98 kB / 0.8443 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.007319, allocations: 11.81 kB / 0.8443 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.007359, allocations: 19.88 kB / 0.8444 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.007367, allocations: 8 kB / 0.8444 GB, free: 8.125 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 7.725e-05/0.007444, allocations: 122.9 kB / 0.8445 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.007466, allocations: 15.98 kB / 0.8445 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.007491, allocations: 17.81 kB / 0.8445 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.007493, allocations: 0 / 0.8445 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007496, allocations: 7.938 kB / 0.8445 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007499, allocations: 0 / 0.8445 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.007622, allocations: 133.7 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007624, allocations: 0 / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.007664, allocations: 19.98 kB / 0.8447 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007666, allocations: 7.984 kB / 0.8447 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.007673, allocations: 4 kB / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007675, allocations: 4 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007676, allocations: 0 / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.007796, allocations: 191.3 kB / 0.8449 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.007808, allocations: 15.84 kB / 0.8449 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.007824, allocations: 8 kB / 0.8449 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.007863, allocations: 3.984 kB / 0.8449 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.007912, allocations: 23.97 kB / 0.8449 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.007917, allocations: 0 / 0.8449 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.73e-05/0.007944, allocations: 42.31 kB / 0.8449 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007944, allocations: 0 / 0.8449 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001536/0.008098, allocations: 47.83 kB / 0.845 GB, free: 7.43 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 7.738e-05/0.008175, allocations: 83.67 kB / 0.8451 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.008285, allocations: 83.34 kB / 0.8452 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.00829, allocations: 4 kB / 0.8452 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.008334, allocations: 49.08 kB / 0.8452 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.00848, allocations: 27.91 kB / 0.8452 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.008962, allocations: 324.9 kB / 0.8455 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.009003, allocations: 75.98 kB / 0.8456 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.751e-05/0.00907, allocations: 29.47 kB / 0.8456 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.009145, allocations: 75.38 kB / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.009146, allocations: 0 / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of Templates: time 0.003396/0.01254, allocations: 1.555 MB / 0.8472 GB, free: 5.156 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 -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.328035132959485]