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.001835/0.001835, allocations: 85.48 kB / 19.44 MB, free: 340 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.002009/0.002009, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.38/3.38, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] 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.814e-06/1.814e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.734e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003199/0.003226, allocations: 1.392 MB / 0.8788 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.004924, allocations: 1.129 MB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.005046, allocations: 11.84 kB / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.248e-05/0.005139, allocations: 35.53 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.005312, allocations: 43.55 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.005646, allocations: 127.8 kB / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004/0.006046, allocations: 348.5 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.006348, allocations: 150.5 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.006707, allocations: 203.6 kB / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.006876, allocations: 111.5 kB / 0.8809 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.006942, allocations: 40.94 kB / 0.881 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.963e-05/0.007022, allocations: 40 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.277e-05/0.007105, allocations: 80.77 kB / 0.8811 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.007224, allocations: 107.7 kB / 0.8812 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.007871, allocations: 498.2 kB / 0.8817 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.007877, allocations: 5.125 kB / 0.8817 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.007878, allocations: 0 / 0.8817 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.007885, allocations: 0 / 0.8817 GB, free: 2.32 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.0009945/0.00888, allocations: 0.6335 MB / 0.8823 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.008921, allocations: 8.031 kB / 0.8823 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.009147, allocations: 73.75 kB / 0.8824 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.009723, allocations: 262.4 kB / 0.8826 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.009769, allocations: 29.38 kB / 0.8826 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.009815, allocations: 28.97 kB / 0.8827 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.01037, allocations: 280.5 kB / 0.8829 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01039, allocations: 4.125 kB / 0.8829 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.01042, allocations: 12.38 kB / 0.883 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.01043, allocations: 8.375 kB / 0.883 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.01095, allocations: 220.6 kB / 0.8832 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.01239, allocations: 0.8732 MB / 0.884 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.01291, allocations: 244.6 kB / 0.8843 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.01312, allocations: 104.7 kB / 0.8844 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.01317, allocations: 8.859 kB / 0.8844 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.01319, allocations: 34.72 kB / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.0132, allocations: 96 / 0.8844 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0007248/0.01392, allocations: 301.1 kB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.01397, allocations: 51.41 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.01429, allocations: 318.6 kB / 0.885 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.01432, allocations: 29.7 kB / 0.8851 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.01452, allocations: 235.3 kB / 0.8853 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.01461, allocations: 95.27 kB / 0.8854 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.01475, allocations: 91.62 kB / 0.8855 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004067/0.01515, allocations: 0.5196 MB / 0.886 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.01534, allocations: 72.52 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.01562, allocations: 163.3 kB / 0.8862 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.01603, allocations: 233.5 kB / 0.8864 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01603, allocations: 0 / 0.8864 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000545/0.01658, allocations: 277.3 kB / 0.8867 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01659, allocations: 4 kB / 0.8867 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.0166, allocations: 4 kB / 0.8867 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01661, allocations: 0 / 0.8867 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.01685, allocations: 55.91 kB / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.01687, allocations: 7.938 kB / 0.8868 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.01698, allocations: 28.06 kB / 0.8868 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.01701, allocations: 11.94 kB / 0.8868 GB, free: 12.82 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 0.0002051/0.01721, allocations: 205 kB / 0.887 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.01728, allocations: 31.86 kB / 0.887 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.01782, allocations: 232.5 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.01783, allocations: 4 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01783, allocations: 8 kB / 0.8873 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01784, allocations: 0 / 0.8873 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.01826, allocations: 296.3 kB / 0.8875 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01826, allocations: 0 / 0.8875 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.01846, allocations: 35.92 kB / 0.8876 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.01846, allocations: 4 kB / 0.8876 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.01848, allocations: 4 kB / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01848, allocations: 0 / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01849, allocations: 0 / 0.8876 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.01906, allocations: 395.9 kB / 0.888 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.01909, allocations: 27.8 kB / 0.888 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.01912, allocations: 11.92 kB / 0.888 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.01923, allocations: 8 kB / 0.888 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.01933, allocations: 23.95 kB / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.01934, allocations: 8 kB / 0.888 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001644/0.01951, allocations: 193.4 kB / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01951, allocations: 0 / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003002/0.01981, allocations: 59.84 kB / 0.8883 GB, free: 11.23 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 0.0001554/0.01996, allocations: 111.2 kB / 0.8884 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.02048, allocations: 224 kB / 0.8886 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.02048, allocations: 0 / 0.8886 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.02072, allocations: 124.2 kB / 0.8887 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.02105, allocations: 39.86 kB / 0.8887 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.02206, allocations: 0.4929 MB / 0.8892 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.02226, allocations: 155.5 kB / 0.8894 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.02239, allocations: 30.28 kB / 0.8894 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.02248, allocations: 28.48 kB / 0.8894 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of SimCode: time 6.82e-07/0.02248, allocations: 0 / 0.8894 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of Templates: time 0.006339/0.02882, allocations: 1.844 MB / 0.8912 GB, free: 8.199 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.524383479030803]