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.001514/0.001514, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001701/0.001701, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.886/2.886, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 66.45 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00289/0.3674, allocations: 1.313 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3691, allocations: 1.128 MB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3692, allocations: 8 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.46e-05/0.3693, allocations: 35.53 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3694, allocations: 43.55 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3698, allocations: 127.8 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.3702, allocations: 336.6 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.3705, allocations: 158.4 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.3708, allocations: 143.5 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.371, allocations: 131.2 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.739e-05/0.371, allocations: 36 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3711, allocations: 44 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.719e-05/0.3712, allocations: 87.69 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3713, allocations: 123.3 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.3719, allocations: 493.8 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3719, allocations: 0 / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3719, allocations: 4 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.3719, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 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.0009417/0.3729, allocations: 0.5188 MB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3729, allocations: 8.031 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3731, allocations: 48.69 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.3737, allocations: 259.7 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.3737, allocations: 29.38 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.3738, allocations: 28.38 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.3744, allocations: 299.1 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3744, allocations: 192 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.3744, allocations: 15.94 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.3744, allocations: 8 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.375, allocations: 243.8 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.3761, allocations: 0.6584 MB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.3767, allocations: 227.4 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.3769, allocations: 105.2 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.377, allocations: 8.219 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.377, allocations: 38.78 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.377, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.000778/0.3778, allocations: 312.2 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3778, allocations: 59.33 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.378, allocations: 215.7 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3781, allocations: 25.7 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3782, allocations: 188.5 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.273e-05/0.3783, allocations: 71.34 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/0.3784, allocations: 69.97 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3785, allocations: 334.8 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.3787, allocations: 80.52 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.379, allocations: 147.9 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.3795, allocations: 222.6 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3795, allocations: 0 / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005677/0.38, allocations: 278.2 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3801, allocations: 4 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3801, allocations: 4 kB / 1.291 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3801, allocations: 4.219 kB / 1.291 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3803, allocations: 55.91 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.3803, allocations: 11.92 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3805, allocations: 35.77 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.3805, allocations: 12 kB / 1.292 GB, free: 2.949 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.0002065/0.3807, allocations: 146.3 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.3808, allocations: 19.91 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005855/0.3813, allocations: 260.1 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3814, allocations: 7.984 kB / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3814, allocations: 3.938 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3814, allocations: 0 / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.3817, allocations: 241.1 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3817, allocations: 0 / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.3819, allocations: 47.91 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3819, allocations: 4 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3819, allocations: 4 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3819, allocations: 4 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3819, allocations: 0 / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005417/0.3825, allocations: 327.2 kB / 1.293 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.3825, allocations: 27.8 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3825, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3827, allocations: 15.98 kB / 1.293 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.3828, allocations: 35.89 kB / 1.293 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3828, allocations: 4 kB / 1.293 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001152/0.3829, allocations: 137.5 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3829, allocations: 0 / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003207/0.3832, allocations: 63.78 kB / 1.293 GB, free: 1.566 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.0001364/0.3833, allocations: 107.2 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.3839, allocations: 220.6 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3839, allocations: 0 / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.3841, allocations: 107.8 kB / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.3844, allocations: 27.88 kB / 1.293 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009222/0.3854, allocations: 486 kB / 1.294 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.3855, allocations: 159.7 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.3857, allocations: 38.27 kB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.3857, allocations: 27.44 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3857, allocations: 0 / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of Templates: time 0.006199/0.3919, allocations: 2.025 MB / 1.296 GB, free: 14.4 MB / 0.9981 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 -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: 9.522532608360052]