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.001424/0.001424, allocations: 92.7 kB / 19.44 MB, free: 324 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.001681/0.001681, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.291/3.291, allocations: 429.6 MB / 0.673 GB, free: 3.883 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.983e-06/1.983e-06, allocations: 0 / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.226e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00324/0.003272, allocations: 1.323 MB / 0.8789 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.005283, allocations: 1.118 MB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.005469, allocations: 8 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.005587, allocations: 36.16 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.005792, allocations: 48.38 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.006178, allocations: 131.7 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.006621, allocations: 341.3 kB / 0.8806 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.006962, allocations: 147.3 kB / 0.8807 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.007377, allocations: 211.4 kB / 0.8809 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.007561, allocations: 108.2 kB / 0.881 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.007627, allocations: 40 kB / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.007725, allocations: 45.17 kB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.007809, allocations: 79.69 kB / 0.8812 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.007935, allocations: 103.7 kB / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006328/0.008567, allocations: 0.4915 MB / 0.8817 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008571, allocations: 0 / 0.8817 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.143e-06/0.008572, allocations: 0 / 0.8817 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.008583, allocations: 0.6562 kB / 0.8817 GB, free: 2.238 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.001053/0.009636, allocations: 0.518 MB / 0.8822 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.009672, allocations: 9.375 kB / 0.8823 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.009929, allocations: 72.7 kB / 0.8823 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.01053, allocations: 275.9 kB / 0.8826 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.01058, allocations: 34.39 kB / 0.8826 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.01063, allocations: 32.38 kB / 0.8827 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.01128, allocations: 292.2 kB / 0.8829 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01129, allocations: 192 / 0.8829 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.01132, allocations: 12.38 kB / 0.8829 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01133, allocations: 9.5 kB / 0.883 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.01194, allocations: 240.6 kB / 0.8832 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.01319, allocations: 0.6591 MB / 0.8838 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.01376, allocations: 229.9 kB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.01403, allocations: 109.7 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.01407, allocations: 4.234 kB / 0.8842 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.01411, allocations: 36.42 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 1.353e-06/0.01411, allocations: 0 / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0008786/0.01499, allocations: 322.5 kB / 0.8845 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.01504, allocations: 52.03 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.01529, allocations: 213.3 kB / 0.8847 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.01532, allocations: 33.7 kB / 0.8848 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.01549, allocations: 180.5 kB / 0.885 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.01557, allocations: 83.22 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.01569, allocations: 73.95 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.0159, allocations: 333.7 kB / 0.8854 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.01615, allocations: 84.5 kB / 0.8855 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.01645, allocations: 135.9 kB / 0.8856 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.01696, allocations: 221.2 kB / 0.8858 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.01697, allocations: 4 kB / 0.8858 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006442/0.01761, allocations: 281.2 kB / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.01763, allocations: 8.219 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01764, allocations: 7.938 kB / 0.8861 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.01766, allocations: 4 kB / 0.8861 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.01794, allocations: 59.91 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.01795, allocations: 4 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.0181, allocations: 27.83 kB / 0.8862 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.01813, allocations: 11.94 kB / 0.8862 GB, free: 13.44 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.0002353/0.01836, allocations: 154.3 kB / 0.8864 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.617e-05/0.01844, allocations: 39.84 kB / 0.8864 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.01908, allocations: 244.4 kB / 0.8867 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.01909, allocations: 4 kB / 0.8867 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01909, allocations: 0 / 0.8867 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.0191, allocations: 0 / 0.8867 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.01947, allocations: 249 kB / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01947, allocations: 3.938 kB / 0.8869 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.01969, allocations: 39.97 kB / 0.8869 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.01969, allocations: 4 kB / 0.8869 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.01971, allocations: 4 kB / 0.8869 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01971, allocations: 0 / 0.8869 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.01972, allocations: 4 kB / 0.8869 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006261/0.02034, allocations: 343.4 kB / 0.8873 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.02038, allocations: 27.8 kB / 0.8873 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.02041, allocations: 0 / 0.8873 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.02055, allocations: 19.98 kB / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.02066, allocations: 27.95 kB / 0.8873 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.02068, allocations: 4 kB / 0.8873 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001437/0.02082, allocations: 141.5 kB / 0.8875 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02082, allocations: 0 / 0.8875 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003469/0.02117, allocations: 63.78 kB / 0.8875 GB, free: 12.03 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.0001926/0.02136, allocations: 109.4 kB / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.02198, allocations: 219.7 kB / 0.8879 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02198, allocations: 0 / 0.8879 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.02225, allocations: 103.9 kB / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.02264, allocations: 31.92 kB / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.02371, allocations: 0.4919 MB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.02391, allocations: 159.5 kB / 0.8886 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.02404, allocations: 30.28 kB / 0.8886 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.02415, allocations: 36.42 kB / 0.8887 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/0.02415, allocations: 0 / 0.8887 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.006603/0.03075, allocations: 1.85 MB / 0.8905 GB, free: 9.031 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] 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.319934464991093]