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.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.00182/0.00182, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002081/0.002081, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.752/2.752, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.525e-06/2.525e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.697e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00278/0.002817, allocations: 1.312 MB / 0.9523 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.004536, allocations: 1.131 MB / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.004681, allocations: 8 kB / 0.9534 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.32e-05/0.004774, allocations: 35.53 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.004947, allocations: 51.53 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.005327, allocations: 123.8 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.005692, allocations: 352.6 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.006012, allocations: 142.5 kB / 0.9541 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.006385, allocations: 215.4 kB / 0.9543 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.006541, allocations: 103.7 kB / 0.9544 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.006603, allocations: 40 kB / 0.9544 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.559e-05/0.006688, allocations: 47.98 kB / 0.9545 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.006761, allocations: 79.69 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.006866, allocations: 99.73 kB / 0.9546 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.007434, allocations: 0.4944 MB / 0.9551 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.007439, allocations: 0 / 0.9551 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00744, allocations: 4 kB / 0.9551 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.007446, allocations: 0 / 0.9551 GB, free: 7.297 MB / 0.8575 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.0009014/0.008347, allocations: 0.5134 MB / 0.9556 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.008386, allocations: 11.97 kB / 0.9556 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.008588, allocations: 56.69 kB / 0.9557 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.009186, allocations: 262.8 kB / 0.9559 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.009224, allocations: 33.38 kB / 0.956 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.009267, allocations: 32.38 kB / 0.956 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.009846, allocations: 291.1 kB / 0.9563 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.009859, allocations: 192 / 0.9563 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.009892, allocations: 16.38 kB / 0.9563 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.009903, allocations: 8.375 kB / 0.9563 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.01046, allocations: 239.8 kB / 0.9565 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.01157, allocations: 0.6507 MB / 0.9572 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.01209, allocations: 227.4 kB / 0.9574 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.01234, allocations: 101.3 kB / 0.9575 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.01237, allocations: 4.234 kB / 0.9575 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.01241, allocations: 34.8 kB / 0.9575 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.01241, allocations: 4 kB / 0.9575 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=27): time 0.0008261/0.01324, allocations: 309.7 kB / 0.9578 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.01329, allocations: 55.41 kB / 0.9579 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.0135, allocations: 215.7 kB / 0.9581 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.01354, allocations: 33.7 kB / 0.9581 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.01368, allocations: 184.5 kB / 0.9583 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.01375, allocations: 79.28 kB / 0.9584 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01385, allocations: 69.97 kB / 0.9584 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.014, allocations: 338.8 kB / 0.9587 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.01422, allocations: 76.52 kB / 0.9588 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.01449, allocations: 139.9 kB / 0.959 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.01495, allocations: 219.6 kB / 0.9592 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01495, allocations: 0 / 0.9592 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005793/0.01553, allocations: 277.4 kB / 0.9594 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.01555, allocations: 8.031 kB / 0.9594 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01556, allocations: 0 / 0.9594 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01558, allocations: 4 kB / 0.9594 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.01585, allocations: 59.89 kB / 0.9595 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.01586, allocations: 4 kB / 0.9595 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.016, allocations: 35.77 kB / 0.9595 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.01602, allocations: 11.94 kB / 0.9595 GB, free: 2.539 MB / 0.8575 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.0002345/0.01626, allocations: 153.8 kB / 0.9597 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.01631, allocations: 23.86 kB / 0.9597 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006187/0.01693, allocations: 248.4 kB / 0.96 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.01693, allocations: 0 / 0.96 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.01694, allocations: 4 kB / 0.96 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.01695, allocations: 3.984 kB / 0.96 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.01729, allocations: 253 kB / 0.9602 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01729, allocations: 4 kB / 0.9602 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.01749, allocations: 35.97 kB / 0.9602 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01749, allocations: 4 kB / 0.9602 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.01751, allocations: 4 kB / 0.9602 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01751, allocations: 0 / 0.9602 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.01752, allocations: 7.938 kB / 0.9603 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/0.0181, allocations: 335.5 kB / 0.9606 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.01813, allocations: 23.78 kB / 0.9606 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.01816, allocations: 12 kB / 0.9606 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.01829, allocations: 7.984 kB / 0.9606 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.01838, allocations: 27.95 kB / 0.9606 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.0184, allocations: 8 kB / 0.9607 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001318/0.01853, allocations: 145.5 kB / 0.9608 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01853, allocations: 0 / 0.9608 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000309/0.01884, allocations: 59.78 kB / 0.9608 GB, free: 1.145 MB / 0.8575 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.0001624/0.019, allocations: 121 kB / 0.961 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005506/0.01955, allocations: 211.7 kB / 0.9612 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01955, allocations: 4 kB / 0.9612 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002418/0.01979, allocations: 103.9 kB / 0.9613 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.02011, allocations: 22.47 kB / 0.9613 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.02101, allocations: 480.4 kB / 0.9617 GB, free: 200 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.02118, allocations: 159.5 kB / 0.9619 GB, free: 20 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.02131, allocations: 30.28 kB / 0.9619 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.02139, allocations: 28.5 kB / 0.962 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.02139, allocations: 4 kB / 0.962 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.006265/0.02766, allocations: 1.825 MB / 0.9637 GB, free: 14.2 MB / 0.8731 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.942398235201836]