Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.001003/0.001003, 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.001135/0.001135, allocations: 173 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.961/0.961, allocations: 177.2 MB / 203.4 MB, free: 5.645 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.009/2.009, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.818e-05, allocations: 9.203 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00191/0.001928, allocations: 1.419 MB / 0.8796 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.003071, allocations: 1.144 MB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.003188, allocations: 4 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.428e-05/0.003252, allocations: 35.53 kB / 0.8808 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.00338, allocations: 60.44 kB / 0.8808 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.003654, allocations: 124.9 kB / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.003883, allocations: 344.6 kB / 0.8813 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.004102, allocations: 146.5 kB / 0.8814 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.004392, allocations: 228.4 kB / 0.8816 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.004487, allocations: 95.67 kB / 0.8817 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.00452, allocations: 33.03 kB / 0.8817 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.765e-05/0.004578, allocations: 40 kB / 0.8818 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.004615, allocations: 68.41 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.004673, allocations: 91.73 kB / 0.8819 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.004918, allocations: 235.5 kB / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00492, allocations: 0 / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004921, allocations: 1.375 kB / 0.8822 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.004926, allocations: 0 / 0.8822 GB, free: 2.262 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0005335/0.00546, allocations: 0.6101 MB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.005493, allocations: 8.031 kB / 0.8828 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.005628, allocations: 77.19 kB / 0.8828 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.005839, allocations: 234 kB / 0.8831 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.005869, allocations: 29.38 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.005896, allocations: 28.38 kB / 0.8831 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.0062, allocations: 236.5 kB / 0.8833 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.00621, allocations: 4.844 kB / 0.8833 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.006229, allocations: 8.375 kB / 0.8834 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.00624, allocations: 9.438 kB / 0.8834 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.006526, allocations: 129.8 kB / 0.8835 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.00723, allocations: 0.704 MB / 0.8842 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.007479, allocations: 177.6 kB / 0.8843 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.00756, allocations: 65.3 kB / 0.8844 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.007586, allocations: 12.22 kB / 0.8844 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.007606, allocations: 37.62 kB / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.322e-06/0.007608, allocations: 0 / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0003024/0.00791, allocations: 206 kB / 0.8846 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.007943, allocations: 63.88 kB / 0.8847 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.008094, allocations: 266.6 kB / 0.885 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.00811, allocations: 30.92 kB / 0.885 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.008201, allocations: 227.2 kB / 0.8852 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.00824, allocations: 79.34 kB / 0.8853 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.008307, allocations: 73.06 kB / 0.8854 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.008416, allocations: 0.5039 MB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.008476, allocations: 36.53 kB / 0.8859 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.008572, allocations: 126.6 kB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.008727, allocations: 169.5 kB / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.00873, allocations: 0 / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002202/0.00895, allocations: 213.3 kB / 0.8864 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.008964, allocations: 8 kB / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.008969, allocations: 0 / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.008983, allocations: 7.938 kB / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.009127, allocations: 55.91 kB / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.009134, allocations: 0 / 0.8864 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.009195, allocations: 31.78 kB / 0.8865 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.009209, allocations: 11.94 kB / 0.8865 GB, free: 13.58 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.701e-05/0.009306, allocations: 181.9 kB / 0.8867 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.00934, allocations: 31.83 kB / 0.8867 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.00957, allocations: 188.4 kB / 0.8869 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009572, allocations: 0 / 0.8869 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.009575, allocations: 4 kB / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009579, allocations: 0 / 0.8869 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.009771, allocations: 240.4 kB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.009772, allocations: 4 kB / 0.8871 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.009858, allocations: 35.97 kB / 0.8871 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00986, allocations: 0 / 0.8871 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009872, allocations: 12 kB / 0.8871 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009873, allocations: 0 / 0.8871 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009874, allocations: 0 / 0.8871 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.01008, allocations: 327.6 kB / 0.8875 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.0101, allocations: 23.8 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.01012, allocations: 4 kB / 0.8875 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.01017, allocations: 8 kB / 0.8875 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.01023, allocations: 27.95 kB / 0.8875 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.01024, allocations: 12 kB / 0.8875 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.01031, allocations: 169.4 kB / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01031, allocations: 0 / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001962/0.0105, allocations: 63.78 kB / 0.8877 GB, free: 12.2 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.561e-05/0.01058, allocations: 111.7 kB / 0.8879 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.01078, allocations: 159.8 kB / 0.888 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01078, allocations: 0 / 0.888 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.01086, allocations: 80.52 kB / 0.8881 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.01107, allocations: 31.98 kB / 0.8881 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.01175, allocations: 472.5 kB / 0.8886 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.095e-05/0.0118, allocations: 92.31 kB / 0.8887 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.778e-05/0.01189, allocations: 34.28 kB / 0.8887 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.01195, allocations: 28.48 kB / 0.8887 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01195, allocations: 3.938 kB / 0.8887 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.004744/0.01669, allocations: 1.91 MB / 0.8906 GB, free: 9.301 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.244063989259303]