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.001852/0.001852, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.002415/0.002415, allocations: 167.2 kB / 22.46 MB, free: 5.371 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.477/1.477, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.909/2.909, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.495e-06/2.495e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.087e-05, allocations: 2.281 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003127/0.003158, allocations: 1.322 MB / 1.001 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.005173, allocations: 1.124 MB / 1.003 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.005414, allocations: 8 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.005537, allocations: 39.47 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.005773, allocations: 43.61 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.006223, allocations: 127.8 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.006716, allocations: 340.6 kB / 1.003 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.007184, allocations: 154.5 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.007669, allocations: 211.4 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.007862, allocations: 103.7 kB / 1.004 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.007938, allocations: 40 kB / 1.004 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.008038, allocations: 43.98 kB / 1.004 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.008123, allocations: 83.67 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.008258, allocations: 99.75 kB / 1.004 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006733/0.008931, allocations: 0.4944 MB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.008936, allocations: 0 / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.913e-06/0.008938, allocations: 0 / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.008951, allocations: 0 / 1.004 GB, free: 3.035 MB / 0.9512 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.001105/0.01006, allocations: 0.5211 MB / 1.005 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.0101, allocations: 8.031 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.01031, allocations: 48.69 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/0.01092, allocations: 266.9 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.01097, allocations: 29.38 kB / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.01103, allocations: 28.38 kB / 1.005 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.01173, allocations: 295 kB / 1.005 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.01175, allocations: 192 / 1.005 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.01178, allocations: 12.38 kB / 1.005 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.0118, allocations: 8.375 kB / 1.005 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006337/0.01243, allocations: 243.8 kB / 1.006 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.0137, allocations: 0.6468 MB / 1.006 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.01428, allocations: 226.8 kB / 1.007 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.01456, allocations: 113.2 kB / 1.007 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.0146, allocations: 4.234 kB / 1.007 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.01465, allocations: 38.83 kB / 1.007 GB, free: 464 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 1.664e-06/0.01465, allocations: 4 kB / 1.007 GB, free: 460 kB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.0008955/0.01554, allocations: 299.5 kB / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.01559, allocations: 55.41 kB / 1.007 GB, free: 88 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.01586, allocations: 219.7 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.01589, allocations: 29.7 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.01605, allocations: 184.5 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.306e-05/0.01615, allocations: 79.31 kB / 1.008 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01627, allocations: 73.92 kB / 1.008 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.01646, allocations: 334.8 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.01671, allocations: 80.52 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.01701, allocations: 148.4 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.01755, allocations: 215.7 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01755, allocations: 0 / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000717/0.01827, allocations: 281.2 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.0183, allocations: 6.344 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.01831, allocations: 0 / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.01834, allocations: 4 kB / 1.009 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.01866, allocations: 51.91 kB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.01869, allocations: 7.984 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.01887, allocations: 23.89 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.01891, allocations: 19.92 kB / 1.009 GB, free: 14.28 MB / 0.9669 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.0004157/0.01932, allocations: 166.9 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.0194, allocations: 27.8 kB / 1.009 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007633/0.02017, allocations: 248.2 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.02017, allocations: 0 / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.02019, allocations: 4 kB / 1.009 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.0202, allocations: 4 kB / 1.009 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.02068, allocations: 249 kB / 1.009 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.02068, allocations: 0 / 1.009 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.0209, allocations: 43.91 kB / 1.009 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.02091, allocations: 4 kB / 1.009 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.02093, allocations: 7.984 kB / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.02094, allocations: 0 / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.02094, allocations: 0 / 1.009 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.02167, allocations: 335.7 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.02172, allocations: 15.84 kB / 1.01 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.02176, allocations: 11.98 kB / 1.01 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.0219, allocations: 8 kB / 1.01 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.02205, allocations: 31.89 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.02207, allocations: 11.98 kB / 1.01 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001762/0.02224, allocations: 137.5 kB / 1.01 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.02224, allocations: 0 / 1.01 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004073/0.02265, allocations: 59.8 kB / 1.01 GB, free: 12.89 MB / 0.9669 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.0002704/0.02292, allocations: 114.8 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006817/0.0236, allocations: 211.7 kB / 1.01 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.02361, allocations: 0 / 1.01 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.02387, allocations: 104.3 kB / 1.01 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.02426, allocations: 35.98 kB / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.02537, allocations: 479.1 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.02556, allocations: 155.5 kB / 1.011 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.02569, allocations: 34.28 kB / 1.011 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.02577, allocations: 28.48 kB / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of SimCode: time 1.393e-06/0.02577, allocations: 0 / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of Templates: time 0.006407/0.03218, allocations: 1.826 MB / 1.013 GB, free: 9.926 MB / 0.9669 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.413847029209137]