Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001705/0.001705, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.0021/0.0021, allocations: 204 kB / 20.09 MB, free: 2.977 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.462/1.462, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.977/2.977, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002124/0.002124, allocations: 75.88 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9369, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00246/0.9394, allocations: 1.438 MB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.9406, allocations: 1.155 MB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.9407, allocations: 6.688 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.215e-05/0.9408, allocations: 36.77 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.9409, allocations: 43.7 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.9413, allocations: 126.7 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.9416, allocations: 339.6 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.9419, allocations: 157.9 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.9422, allocations: 139.5 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.9423, allocations: 152.1 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.9424, allocations: 39.31 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.9425, allocations: 42.91 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.9425, allocations: 89.67 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.9426, allocations: 159.1 kB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.9431, allocations: 490.5 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9431, allocations: 0 / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9431, allocations: 0 / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.9431, allocations: 0 / 1.326 GB, free: 22.27 MB / 1.061 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.0008338/0.9439, allocations: 0.5935 MB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.944, allocations: 15.89 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.9442, allocations: 46.42 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004998/0.9447, allocations: 327 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.9447, allocations: 28.62 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.9448, allocations: 35.25 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.9454, allocations: 292.4 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.9454, allocations: 8.109 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.9454, allocations: 19.41 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.9454, allocations: 7.938 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.9461, allocations: 234.3 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.9474, allocations: 0.8148 MB / 1.329 GB, free: 20.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.948, allocations: 232.1 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.9483, allocations: 101.4 kB / 1.329 GB, free: 20.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.9483, allocations: 7.953 kB / 1.329 GB, free: 20.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.9483, allocations: 36.88 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.643e-06/0.9483, allocations: 5.25 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0008747/0.9492, allocations: 311.4 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.9492, allocations: 54.12 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.9495, allocations: 213.5 kB / 1.33 GB, free: 20.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.9495, allocations: 30.55 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.9496, allocations: 188.3 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.9497, allocations: 75.69 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.9498, allocations: 71.66 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.9499, allocations: 330.5 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.9501, allocations: 79.62 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.9504, allocations: 144.6 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.9509, allocations: 220 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9509, allocations: 1.375 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005875/0.9515, allocations: 278 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.9515, allocations: 5.188 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9515, allocations: 2.906 kB / 1.331 GB, free: 19.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.9515, allocations: 6.594 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.9518, allocations: 57.34 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.9518, allocations: 2.562 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.9519, allocations: 33.98 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.952, allocations: 8.797 kB / 1.331 GB, free: 19.12 MB / 1.061 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.0002135/0.9522, allocations: 156.5 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.9522, allocations: 22.27 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.9528, allocations: 253.2 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.9528, allocations: 5.875 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.9528, allocations: 1.484 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.9528, allocations: 5.844 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.9533, allocations: 358.2 kB / 1.332 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9533, allocations: 0 / 1.332 GB, free: 18.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.9535, allocations: 46.67 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9535, allocations: 0 / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.9535, allocations: 7.25 kB / 1.332 GB, free: 18.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9535, allocations: 9.891 kB / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.9535, allocations: 0 / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.954, allocations: 329.8 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.9541, allocations: 96.67 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.9541, allocations: 2.016 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.9542, allocations: 20.41 kB / 1.332 GB, free: 18.22 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.9543, allocations: 28.05 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.9543, allocations: 5.297 kB / 1.332 GB, free: 18.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001034/0.9544, allocations: 139.6 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9544, allocations: 1.188 kB / 1.332 GB, free: 18.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003215/0.9548, allocations: 70.14 kB / 1.332 GB, free: 18.09 MB / 1.061 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.0001197/0.9549, allocations: 113.6 kB / 1.333 GB, free: 17.99 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.9554, allocations: 215.2 kB / 1.333 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9554, allocations: 0 / 1.333 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.9556, allocations: 105.4 kB / 1.333 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.9559, allocations: 23.22 kB / 1.333 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.9568, allocations: 0.5021 MB / 1.333 GB, free: 17.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.957, allocations: 0.7689 MB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.9571, allocations: 27.67 kB / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9571, allocations: 0 / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of Templates: time 0.006545/0.9636, allocations: 3.077 MB / 1.337 GB, free: 16.46 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.31322540101246]