Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 191.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.059/3.059, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.91 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8372/0.8391, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003299/0.8424, allocations: 1.432 MB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.8441, allocations: 1.112 MB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.8443, allocations: 4 kB / 1.277 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.712e-05/0.8444, allocations: 31.55 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.8446, allocations: 51.53 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.8449, allocations: 123.9 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.8452, allocations: 336.6 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.8455, allocations: 162 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.8457, allocations: 135.4 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.8459, allocations: 155.2 kB / 1.278 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-05/0.846, allocations: 40 kB / 1.278 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.846, allocations: 40 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.8461, allocations: 75.77 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.8462, allocations: 155.1 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.8467, allocations: 488.6 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8467, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8467, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8467, allocations: 4 kB / 1.278 GB, free: 208 kB / 0.9669 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.0009368/0.8477, allocations: 0.5926 MB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.8477, allocations: 8.031 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.8478, allocations: 40.7 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.8484, allocations: 329.5 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.8484, allocations: 33.38 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.8484, allocations: 28.38 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.849, allocations: 295.1 kB / 1.28 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.849, allocations: 192 / 1.28 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.8491, allocations: 15.94 kB / 1.28 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.8491, allocations: 8 kB / 1.28 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.8496, allocations: 235.9 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.8508, allocations: 0.8253 MB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.8513, allocations: 228.1 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.8516, allocations: 101.3 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.8516, allocations: 8.234 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.8516, allocations: 34.78 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.8516, allocations: 0 / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0007817/0.8524, allocations: 310 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.8525, allocations: 63.34 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.8527, allocations: 219.6 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.8527, allocations: 29.7 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.8529, allocations: 184.5 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.8529, allocations: 83.27 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.853, allocations: 65.97 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8532, allocations: 334.8 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.8534, allocations: 80.52 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.8537, allocations: 139.9 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.8541, allocations: 226.9 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8541, allocations: 4 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005721/0.8547, allocations: 269.3 kB / 1.283 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.8547, allocations: 11.98 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8547, allocations: 4 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.8548, allocations: 15.81 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.855, allocations: 56.12 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.855, allocations: 4 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.8552, allocations: 27.83 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.8552, allocations: 12 kB / 1.283 GB, free: 11.08 MB / 0.9825 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.0002039/0.8554, allocations: 150.3 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.8555, allocations: 19.86 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005842/0.8561, allocations: 256.3 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.8561, allocations: 7.938 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8561, allocations: 0 / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.8561, allocations: 3.984 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.8565, allocations: 345.4 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8565, allocations: 0 / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.8567, allocations: 43.91 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.8567, allocations: 4 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.8567, allocations: 4 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.8567, allocations: 7.938 kB / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8567, allocations: 0 / 1.284 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.8573, allocations: 331.2 kB / 1.284 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.8574, allocations: 100.9 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.8574, allocations: 8 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.8575, allocations: 15.92 kB / 1.284 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.8576, allocations: 23.97 kB / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.8576, allocations: 11.98 kB / 1.284 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001175/0.8578, allocations: 133.5 kB / 1.284 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8578, allocations: 0 / 1.284 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003162/0.8581, allocations: 63.78 kB / 1.284 GB, free: 9.48 MB / 0.9825 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.0001727/0.8582, allocations: 124.6 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000523/0.8588, allocations: 203.8 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8588, allocations: 4 kB / 1.285 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.859, allocations: 101.3 kB / 1.285 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.8593, allocations: 29.67 kB / 1.285 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.8602, allocations: 0.4974 MB / 1.285 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.8606, allocations: 0.7674 MB / 1.286 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.8607, allocations: 34.28 kB / 1.286 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.8608, allocations: 31.41 kB / 1.286 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8608, allocations: 3.938 kB / 1.286 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of Templates: time 0.00565/0.8665, allocations: 1.972 MB / 1.288 GB, free: 5.715 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.992356546688825]