Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.001593/0.001593, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001937/0.001937, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.17/2.17, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.247e-05, allocations: 6.391 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002982/0.003014, allocations: 1.124 MB / 0.8793 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.004703, allocations: 1.07 MB / 0.8804 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.004862, allocations: 4 kB / 0.8804 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.919e-05/0.004941, allocations: 28.38 kB / 0.8804 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.005104, allocations: 32.34 kB / 0.8804 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.005463, allocations: 85.44 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.005773, allocations: 236.1 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.00602, allocations: 88.58 kB / 0.8808 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.006373, allocations: 151.6 kB / 0.881 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.006501, allocations: 69.41 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.006546, allocations: 24 kB / 0.8811 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/0.006616, allocations: 24 kB / 0.8811 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.006665, allocations: 59.81 kB / 0.8811 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.006739, allocations: 70.7 kB / 0.8812 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.007036, allocations: 163.4 kB / 0.8814 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.007041, allocations: 0 / 0.8814 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/0.007043, allocations: 0 / 0.8814 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.007049, allocations: 0 / 0.8814 GB, free: 3.422 MB / 0.8386 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.000745/0.007794, allocations: 0.5156 MB / 0.8819 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.007839, allocations: 12.03 kB / 0.8819 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.00805, allocations: 49.5 kB / 0.8819 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.00844, allocations: 206 kB / 0.8821 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.008474, allocations: 16.88 kB / 0.8821 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.008508, allocations: 20.38 kB / 0.8822 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.008871, allocations: 173.3 kB / 0.8823 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.008883, allocations: 192 / 0.8823 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.008906, allocations: 12.38 kB / 0.8823 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.008918, allocations: 4.375 kB / 0.8823 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.009107, allocations: 74.89 kB / 0.8824 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.009918, allocations: 0.53 MB / 0.8829 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.01018, allocations: 120.1 kB / 0.883 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.0103, allocations: 43.67 kB / 0.8831 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.01032, allocations: 4 kB / 0.8831 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.01035, allocations: 37.33 kB / 0.8831 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.01035, allocations: 0 / 0.8831 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003406/0.01069, allocations: 137.5 kB / 0.8833 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.01073, allocations: 51.41 kB / 0.8833 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.01091, allocations: 240 kB / 0.8835 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01093, allocations: 29.7 kB / 0.8836 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01103, allocations: 191.3 kB / 0.8837 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.01107, allocations: 43.64 kB / 0.8838 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.01116, allocations: 63.36 kB / 0.8838 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.01131, allocations: 0.4961 MB / 0.8843 GB, free: 196 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.01137, allocations: 23.98 kB / 0.8844 GB, free: 172 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01148, allocations: 93.97 kB / 0.8844 GB, free: 52 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.01165, allocations: 108.4 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01166, allocations: 3.984 kB / 0.8845 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002572/0.01191, allocations: 145.4 kB / 0.8847 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.01194, allocations: 10.66 kB / 0.8847 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01194, allocations: 0 / 0.8847 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01196, allocations: 7.938 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01211, allocations: 31.91 kB / 0.8847 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.01212, allocations: 4 kB / 0.8847 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.01227, allocations: 19.84 kB / 0.8848 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.01229, allocations: 12.16 kB / 0.8848 GB, free: 15.69 MB / 0.8542 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.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 (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 0.0001433/0.01243, allocations: 177.4 kB / 0.8849 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.01248, allocations: 15.91 kB / 0.885 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.01253, allocations: 21.81 kB / 0.885 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.01253, allocations: 7.922 kB / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.01254, allocations: 4 kB / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01255, allocations: 0 / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.01279, allocations: 188.5 kB / 0.8852 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01279, allocations: 0 / 0.8852 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.01288, allocations: 31.97 kB / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.01288, allocations: 0 / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.0129, allocations: 4 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.0129, allocations: 3.938 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01291, allocations: 3.938 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.01318, allocations: 263.7 kB / 0.8855 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.0132, allocations: 19.83 kB / 0.8855 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.01323, allocations: 4 kB / 0.8855 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.01332, allocations: 8 kB / 0.8855 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.0134, allocations: 23.91 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.01341, allocations: 7.984 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.53e-05/0.01351, allocations: 164.2 kB / 0.8857 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01351, allocations: 0 / 0.8857 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003402/0.01385, allocations: 39.84 kB / 0.8857 GB, free: 14.66 MB / 0.8542 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.0001371/0.01398, allocations: 111.8 kB / 0.8858 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.01422, allocations: 101.1 kB / 0.8859 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01423, allocations: 8 kB / 0.8859 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.01432, allocations: 61.72 kB / 0.886 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01467, allocations: 22.3 kB / 0.886 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.01557, allocations: 338.7 kB / 0.8863 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.022e-05/0.01563, allocations: 75.98 kB / 0.8864 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.668e-05/0.01573, allocations: 25.48 kB / 0.8864 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.0158, allocations: 28.48 kB / 0.8865 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.0158, allocations: 0 / 0.8865 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.005059/0.02086, allocations: 1.493 MB / 0.8879 GB, free: 12.42 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.537143419031054]