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.001406/0.001406, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001802/0.001802, allocations: 213.8 kB / 22.25 MB, free: 5.082 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 8.027 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 3.431/3.431, allocations: 0.4899 GB / 0.7951 GB, free: 33.55 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.002049/0.002049, allocations: 67.58 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4182, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003558/0.4217, allocations: 1.444 MB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.424, allocations: 1.143 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.4243, allocations: 4 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.4244, allocations: 43.53 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.4246, allocations: 43.55 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.425, allocations: 123.9 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.4254, allocations: 340.6 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.4257, allocations: 162.5 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.426, allocations: 151.4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.4262, allocations: 143.3 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.4263, allocations: 43.98 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.4263, allocations: 44 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.013e-05/0.4264, allocations: 87.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.4266, allocations: 155.1 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.4272, allocations: 493.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4272, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.572e-06/0.4272, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.4272, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 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.0009488/0.4281, allocations: 0.5096 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4282, allocations: 16.03 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.4284, allocations: 48.69 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.4289, allocations: 263.6 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.429, allocations: 29.38 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.429, allocations: 32.31 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.4296, allocations: 291.1 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4296, allocations: 4.188 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.4296, allocations: 19.92 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4296, allocations: 8 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.4302, allocations: 235.8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.4314, allocations: 0.7788 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.4319, allocations: 235.5 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.4322, allocations: 105.3 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4322, allocations: 240 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4322, allocations: 38.8 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.062e-06/0.4322, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0007705/0.433, allocations: 315.5 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.433, allocations: 51.41 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.4332, allocations: 211.7 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.4333, allocations: 33.7 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.4334, allocations: 184.5 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.4335, allocations: 87.25 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.4336, allocations: 69.92 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4338, allocations: 334.8 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.434, allocations: 72.52 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.4342, allocations: 147.9 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.4347, allocations: 214.7 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4347, allocations: 4 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000544/0.4352, allocations: 282.2 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4352, allocations: 6.031 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4352, allocations: 4 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4353, allocations: 7.938 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.4355, allocations: 47.91 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.4355, allocations: 7.984 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.4356, allocations: 27.83 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.4357, allocations: 16.2 kB / 1.335 GB, free: 8.188 MB / 1.029 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.0002362/0.4359, allocations: 158.3 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.436, allocations: 23.86 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.4365, allocations: 248.1 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4365, allocations: 11.88 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4365, allocations: 4 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4365, allocations: 0 / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.4369, allocations: 324.4 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4369, allocations: 0 / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.4371, allocations: 39.97 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4371, allocations: 4 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4371, allocations: 0 / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4371, allocations: 7.875 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4371, allocations: 3.938 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.4376, allocations: 327.3 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.4377, allocations: 23.8 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.4377, allocations: 8 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4378, allocations: 15.92 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.4379, allocations: 27.95 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.4379, allocations: 8 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001264/0.4381, allocations: 137.5 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4381, allocations: 0 / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002981/0.4384, allocations: 67.73 kB / 1.337 GB, free: 6.707 MB / 1.029 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.0001384/0.4385, allocations: 108.7 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.439, allocations: 216.5 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.439, allocations: 0 / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.4392, allocations: 103.9 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4396, allocations: 31.94 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.4405, allocations: 498.2 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.4409, allocations: 0.7712 MB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.441, allocations: 30.28 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.4411, allocations: 23.44 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4411, allocations: 0 / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of Templates: time 0.005924/0.447, allocations: 2.045 MB / 1.34 GB, free: 2.887 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins/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: 9.83339358214289]