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.001327/0.001327, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001699/0.001699, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9338/0.9338, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.053/2.053, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.013e-06/2.013e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.603e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001812/0.001838, allocations: 1.155 MB / 0.8793 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002968, allocations: 1.072 MB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.003061, allocations: 4 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.213e-05/0.003123, allocations: 23.67 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.003263, allocations: 36.61 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.003585, allocations: 91.78 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.003799, allocations: 229.3 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.004021, allocations: 88.59 kB / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.004426, allocations: 164.7 kB / 0.881 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.004532, allocations: 55.8 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.004566, allocations: 20 kB / 0.8811 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.998e-05/0.004626, allocations: 25.03 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.004659, allocations: 55.81 kB / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.004705, allocations: 55.83 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.004912, allocations: 164.2 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004915, allocations: 0 / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004916, allocations: 0 / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.004922, allocations: 0.5 kB / 0.8814 GB, free: 3.066 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.0005154/0.005437, allocations: 0.5136 MB / 0.8819 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.005479, allocations: 12.03 kB / 0.8819 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.005642, allocations: 44.78 kB / 0.8819 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.005854, allocations: 188.2 kB / 0.8821 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.005887, allocations: 22.22 kB / 0.8821 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.005907, allocations: 20.31 kB / 0.8821 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.006175, allocations: 170.4 kB / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.006185, allocations: 192 / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.006202, allocations: 8.375 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.006212, allocations: 9.031 kB / 0.8823 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.006336, allocations: 83.39 kB / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.006935, allocations: 0.516 MB / 0.8829 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.007123, allocations: 119 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.007175, allocations: 35.67 kB / 0.883 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.007191, allocations: 6.469 kB / 0.883 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.007215, allocations: 37.39 kB / 0.8831 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.007216, allocations: 0 / 0.8831 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002447/0.007461, allocations: 144.1 kB / 0.8832 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.007493, allocations: 55.41 kB / 0.8833 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.007632, allocations: 241.3 kB / 0.8835 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.00765, allocations: 29.7 kB / 0.8835 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.00773, allocations: 187.2 kB / 0.8837 GB, free: 500 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.007765, allocations: 47.7 kB / 0.8838 GB, free: 452 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.007826, allocations: 59.34 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.007967, allocations: 0.5 MB / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.008015, allocations: 20.7 kB / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.292e-05/0.008087, allocations: 87.75 kB / 0.8844 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.00829, allocations: 113.5 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.008294, allocations: 4 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001751/0.008469, allocations: 153.3 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.008486, allocations: 4 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.008495, allocations: 4 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.008512, allocations: 3.938 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.008624, allocations: 31.92 kB / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.00863, allocations: 0 / 0.8847 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.008677, allocations: 23.88 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.008686, allocations: 12.09 kB / 0.8847 GB, free: 15.36 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 9.333e-05/0.00878, allocations: 173.4 kB / 0.8849 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.008807, allocations: 23.91 kB / 0.8849 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.008838, allocations: 13.81 kB / 0.8849 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.00884, allocations: 11.88 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.008846, allocations: 3.984 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008849, allocations: 0 / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.009008, allocations: 192.5 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.00901, allocations: 0 / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.009059, allocations: 19.98 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.009061, allocations: 4 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.009072, allocations: 7.984 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.009073, allocations: 0 / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.009075, allocations: 3.938 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.009262, allocations: 274.3 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.009275, allocations: 19.84 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.009291, allocations: 4 kB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.009333, allocations: 4 kB / 0.8855 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.009402, allocations: 27.89 kB / 0.8855 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.009408, allocations: 8 kB / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.523e-05/0.009473, allocations: 155.2 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009473, allocations: 0 / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001744/0.009648, allocations: 43.89 kB / 0.8857 GB, free: 14.33 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 9.691e-05/0.009744, allocations: 99.25 kB / 0.8858 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.009917, allocations: 105.2 kB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009918, allocations: 4.062 kB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.009976, allocations: 55.59 kB / 0.8859 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.01019, allocations: 24.59 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.01086, allocations: 334.7 kB / 0.8863 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.01091, allocations: 75.98 kB / 0.8863 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.083e-05/0.01097, allocations: 21.48 kB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.01102, allocations: 28.48 kB / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.01102, allocations: 0 / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.003897/0.01492, allocations: 1.566 MB / 0.8879 GB, free: 12.05 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.394892459269613]