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.001844/0.001844, allocations: 115.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.002143/0.002143, allocations: 194.3 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.54/1.54, allocations: 225.6 MB / 250.9 MB, free: 13.3 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 2.924/2.924, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.002065/0.002065, allocations: 71.88 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9452/0.9472, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003599/0.9508, allocations: 1.436 MB / 1.275 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.9525, allocations: 1.108 MB / 1.277 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.9528, allocations: 8 kB / 1.277 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.9529, allocations: 35.53 kB / 1.277 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.9532, allocations: 43.59 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.9535, allocations: 123.8 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.954, allocations: 340.6 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.9544, allocations: 158 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.9547, allocations: 135.4 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.9549, allocations: 155.2 kB / 1.278 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.955, allocations: 44 kB / 1.278 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.224e-05/0.955, allocations: 40 kB / 1.278 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.9551, allocations: 75.77 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.9552, allocations: 155.1 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.9558, allocations: 488.6 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9558, allocations: 0 / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9558, allocations: 0 / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.9558, allocations: 0 / 1.278 GB, free: 248 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.00108/0.9569, allocations: 0.5965 MB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.957, allocations: 12.02 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.9571, allocations: 40.7 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.9577, allocations: 329.5 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.9578, allocations: 25.38 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.9578, allocations: 32.38 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.9585, allocations: 295.1 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.9585, allocations: 192 / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.9585, allocations: 19.88 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.9586, allocations: 8 kB / 1.28 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/0.9592, allocations: 235.9 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.9606, allocations: 0.8214 MB / 1.281 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.9611, allocations: 227.5 kB / 1.281 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.9614, allocations: 101.3 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.9614, allocations: 4.234 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.9614, allocations: 38.8 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.9614, allocations: 0 / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008701/0.9623, allocations: 309.6 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.9624, allocations: 59.34 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.9626, allocations: 211.6 kB / 1.282 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.9626, allocations: 33.7 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.9628, allocations: 180.5 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.9629, allocations: 91.2 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.963, allocations: 65.97 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9632, allocations: 330.8 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.9634, allocations: 80.5 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.9637, allocations: 139.9 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.9641, allocations: 227.6 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9641, allocations: 0 / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005987/0.9647, allocations: 273.3 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.9648, allocations: 8 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9648, allocations: 0 / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.9648, allocations: 11.88 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.9651, allocations: 55.91 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.9651, allocations: 7.938 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.9652, allocations: 28.05 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.9653, allocations: 16 kB / 1.283 GB, free: 11.12 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.0002542/0.9655, allocations: 154.3 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.9656, allocations: 19.86 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000628/0.9662, allocations: 248.3 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.9662, allocations: 15.92 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9662, allocations: 0 / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9662, allocations: 0 / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.9667, allocations: 353.3 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.9667, allocations: 3.984 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.9669, allocations: 39.92 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.9669, allocations: 0 / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.9669, allocations: 7.984 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.9669, allocations: 7.938 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.9669, allocations: 0 / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.9675, allocations: 335.5 kB / 1.284 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.9676, allocations: 104.9 kB / 1.284 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.9676, allocations: 4 kB / 1.284 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.9678, allocations: 11.94 kB / 1.284 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.9679, allocations: 27.95 kB / 1.284 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.9679, allocations: 12 kB / 1.284 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001302/0.968, allocations: 137.5 kB / 1.284 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.968, allocations: 0 / 1.284 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003432/0.9684, allocations: 63.78 kB / 1.284 GB, free: 9.508 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.0001848/0.9686, allocations: 112.7 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005839/0.9691, allocations: 207.8 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.9691, allocations: 4 kB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.9694, allocations: 103.9 kB / 1.285 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.9697, allocations: 22.23 kB / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.9708, allocations: 0.497 MB / 1.285 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.9713, allocations: 0.7675 MB / 1.286 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.9714, allocations: 30.28 kB / 1.286 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.9715, allocations: 27.44 kB / 1.286 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.9715, allocations: 7.875 kB / 1.286 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.00645/0.9779, allocations: 1.984 MB / 1.288 GB, free: 5.754 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 cvode -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: 9.319903511088341]