Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002052/0.002052, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002327/0.002327, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.849/2.849, allocations: 377.8 MB / 0.6221 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.912e-05, allocations: 5.516 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003258/0.003297, allocations: 1.313 MB / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.005303, allocations: 1.124 MB / 0.9838 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.005463, allocations: 8 kB / 0.9839 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.005577, allocations: 39.47 kB / 0.9839 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.005825, allocations: 43.59 kB / 0.9839 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.006362, allocations: 123.8 kB / 0.9841 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005296/0.006892, allocations: 344.6 kB / 0.9844 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005059/0.007398, allocations: 154.3 kB / 0.9845 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.007939, allocations: 211.5 kB / 0.9847 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.008206, allocations: 103.7 kB / 0.9848 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.00828, allocations: 47.98 kB / 0.9849 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.00837, allocations: 40 kB / 0.9849 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.008529, allocations: 79.69 kB / 0.985 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.008661, allocations: 103.7 kB / 0.9851 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007133/0.009375, allocations: 0.4981 MB / 0.9856 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.009383, allocations: 4 kB / 0.9856 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.009385, allocations: 0 / 0.9856 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.009394, allocations: 0 / 0.9856 GB, free: 7.652 MB / 0.9356 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.001155/0.01055, allocations: 0.5211 MB / 0.9861 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.0106, allocations: 12.03 kB / 0.9861 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.01082, allocations: 48.69 kB / 0.9861 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006998/0.01152, allocations: 255 kB / 0.9864 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.01157, allocations: 33.36 kB / 0.9864 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.01162, allocations: 36.31 kB / 0.9865 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.01225, allocations: 291.1 kB / 0.9867 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.01226, allocations: 192 / 0.9867 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.0123, allocations: 20.38 kB / 0.9868 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.01232, allocations: 8.375 kB / 0.9868 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.01291, allocations: 239.8 kB / 0.987 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.01416, allocations: 0.6506 MB / 0.9876 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/0.01481, allocations: 229.7 kB / 0.9878 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.01505, allocations: 105.4 kB / 0.9879 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.01509, allocations: 8.172 kB / 0.988 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.01512, allocations: 34.8 kB / 0.988 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=27): time 1.352e-06/0.01512, allocations: 0 / 0.988 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.0008487/0.01597, allocations: 307.5 kB / 0.9883 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.01602, allocations: 59.41 kB / 0.9883 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.01628, allocations: 215.7 kB / 0.9885 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.01632, allocations: 33.7 kB / 0.9886 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.01653, allocations: 180.5 kB / 0.9887 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.01661, allocations: 79.28 kB / 0.9888 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.0168, allocations: 65.97 kB / 0.9889 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.01701, allocations: 338.8 kB / 0.9892 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.01723, allocations: 76.52 kB / 0.9893 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.01752, allocations: 156.4 kB / 0.9894 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.018, allocations: 215.6 kB / 0.9896 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.018, allocations: 0 / 0.9896 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006143/0.01862, allocations: 281.3 kB / 0.9899 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.01864, allocations: 4 kB / 0.9899 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.01865, allocations: 7.938 kB / 0.9899 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.01868, allocations: 0 / 0.9899 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.01896, allocations: 52.12 kB / 0.99 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.01898, allocations: 11.94 kB / 0.99 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.01913, allocations: 35.83 kB / 0.99 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.01915, allocations: 15.88 kB / 0.99 GB, free: 2.879 MB / 0.9356 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.0003172/0.01947, allocations: 153.7 kB / 0.9902 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.01952, allocations: 23.86 kB / 0.9902 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.02016, allocations: 248.2 kB / 0.9904 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.02016, allocations: 3.984 kB / 0.9904 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.02017, allocations: 4 kB / 0.9904 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.02017, allocations: 0 / 0.9904 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.02053, allocations: 249 kB / 0.9907 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02054, allocations: 0 / 0.9907 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.02073, allocations: 39.91 kB / 0.9907 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.02073, allocations: 4 kB / 0.9907 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.02075, allocations: 4 kB / 0.9907 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.02075, allocations: 4 kB / 0.9907 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02075, allocations: 0 / 0.9907 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.02133, allocations: 339.7 kB / 0.991 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.02136, allocations: 19.8 kB / 0.9911 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.02139, allocations: 4 kB / 0.9911 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.02152, allocations: 11.98 kB / 0.9911 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.02162, allocations: 31.89 kB / 0.9911 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.02163, allocations: 8 kB / 0.9911 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001312/0.02177, allocations: 145.5 kB / 0.9913 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.02177, allocations: 0 / 0.9913 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003061/0.02207, allocations: 51.84 kB / 0.9913 GB, free: 1.5 MB / 0.9356 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.0001769/0.02225, allocations: 108.2 kB / 0.9914 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.02278, allocations: 216.3 kB / 0.9916 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02278, allocations: 8 kB / 0.9916 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.02303, allocations: 107.8 kB / 0.9917 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.02337, allocations: 25.69 kB / 0.9918 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.02437, allocations: 479.2 kB / 0.9922 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.0246, allocations: 155.5 kB / 0.9924 GB, free: 380 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.02473, allocations: 38.22 kB / 0.9924 GB, free: 340 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.823e-05/0.02481, allocations: 28.5 kB / 0.9924 GB, free: 308 kB / 0.9356 GB Notification: Performance of SimCode: time 8.02e-07/0.02481, allocations: 0 / 0.9924 GB, free: 308 kB / 0.9356 GB Notification: Performance of Templates: time 0.006493/0.03131, allocations: 1.823 MB / 0.9942 GB, free: 14.54 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.319796234369278]