Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001798/0.001798, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.002147/0.002147, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.509/1.509, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.824/2.824, allocations: 437.1 MB / 0.7177 GB, free: 4.559 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001986, allocations: 71.88 kB / 1.028 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3041, allocations: 151.6 MB / 1.176 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002794/0.3069, allocations: 1.438 MB / 1.177 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3083, allocations: 1.088 MB / 1.178 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3084, allocations: 7.938 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.109e-05/0.3085, allocations: 35.53 kB / 1.178 GB, free: 3.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3086, allocations: 39.59 kB / 1.178 GB, free: 3.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.3089, allocations: 123.8 kB / 1.179 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.3093, allocations: 332.7 kB / 1.179 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.3096, allocations: 210 kB / 1.179 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.3098, allocations: 135.4 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.31, allocations: 143.3 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.3101, allocations: 43.94 kB / 1.179 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.3101, allocations: 36 kB / 1.179 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.3102, allocations: 79.75 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3103, allocations: 159.2 kB / 1.18 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.3108, allocations: 469.9 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3108, allocations: 0 / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3108, allocations: 0 / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3109, allocations: 4 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008662/0.3117, allocations: 0.5922 MB / 1.181 GB, free: 1.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3118, allocations: 8.031 kB / 1.181 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.3118, allocations: 36.7 kB / 1.181 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.3124, allocations: 325.2 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.3124, allocations: 25.03 kB / 1.181 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.3125, allocations: 36.38 kB / 1.181 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.3131, allocations: 282.6 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3131, allocations: 4.125 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3131, allocations: 15.94 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3131, allocations: 8 kB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.3137, allocations: 230.5 kB / 1.182 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3149, allocations: 0.8039 MB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.3153, allocations: 237.1 kB / 1.183 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.3156, allocations: 116.8 kB / 1.183 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3156, allocations: 7.984 kB / 1.183 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.3157, allocations: 38.55 kB / 1.183 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.442e-06/0.3157, allocations: 0 / 1.183 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0007825/0.3165, allocations: 299.2 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3165, allocations: 59.34 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3167, allocations: 211.7 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3168, allocations: 33.7 kB / 1.183 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3169, allocations: 164.6 kB / 1.183 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-05/0.317, allocations: 91.25 kB / 1.184 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3171, allocations: 61.97 kB / 1.184 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3172, allocations: 338.8 kB / 1.184 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.3174, allocations: 80.52 kB / 1.184 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3177, allocations: 139.9 kB / 1.184 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.3181, allocations: 216.4 kB / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3182, allocations: 4 kB / 1.184 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000554/0.3187, allocations: 275.4 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3187, allocations: 4 kB / 1.185 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3188, allocations: 4 kB / 1.185 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3188, allocations: 0 / 1.185 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.319, allocations: 60.06 kB / 1.185 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.319, allocations: 4 kB / 1.185 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3192, allocations: 31.83 kB / 1.185 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3192, allocations: 12 kB / 1.185 GB, free: 12.63 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.0001494/0.3194, allocations: 149.8 kB / 1.185 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.3194, allocations: 23.86 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.32, allocations: 257.4 kB / 1.185 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.32, allocations: 7.938 kB / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.32, allocations: 0 / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.32, allocations: 0 / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.3204, allocations: 337.4 kB / 1.185 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3204, allocations: 4 kB / 1.185 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3206, allocations: 39.97 kB / 1.186 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3207, allocations: 4 kB / 1.186 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3207, allocations: 4 kB / 1.186 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.3207, allocations: 11.88 kB / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3207, allocations: 3.984 kB / 1.186 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.3212, allocations: 319.7 kB / 1.186 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.3213, allocations: 100.9 kB / 1.186 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3213, allocations: 11.94 kB / 1.186 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3215, allocations: 15.92 kB / 1.186 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/0.3216, allocations: 23.97 kB / 1.186 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3216, allocations: 8 kB / 1.186 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3217, allocations: 136.2 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3217, allocations: 0 / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000298/0.322, allocations: 63.78 kB / 1.186 GB, free: 11.05 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001376/0.3222, allocations: 117.5 kB / 1.186 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.3227, allocations: 217 kB / 1.187 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3227, allocations: 0 / 1.187 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.3229, allocations: 109 kB / 1.187 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3233, allocations: 30.17 kB / 1.187 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/0.3241, allocations: 0.5105 MB / 1.187 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3245, allocations: 0.7597 MB / 1.188 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.3246, allocations: 27.44 kB / 1.188 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.3246, allocations: 0 / 1.188 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of Templates: time 0.005019/0.3297, allocations: 3.016 MB / 1.191 GB, free: 6.219 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.557578713051043]