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.001717/0.001717, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002254/0.002254, allocations: 208.7 kB / 22.99 MB, free: 4.984 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.197/3.197, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.00203/0.00203, allocations: 63.11 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002808/0.3239, allocations: 1.323 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3254, allocations: 1.128 MB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3256, allocations: 4 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.609e-05/0.3256, allocations: 35.53 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.3258, allocations: 47.55 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3261, allocations: 127.9 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.3264, allocations: 336.7 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.3268, allocations: 158.5 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.327, allocations: 151.4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.3272, allocations: 155.2 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.3272, allocations: 40 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.802e-05/0.3273, allocations: 40 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.3274, allocations: 79.77 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3275, allocations: 127.3 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.328, allocations: 0.4901 MB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.328, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.328, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.328, allocations: 0 / 1.331 GB, free: 12.78 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.0008836/0.3289, allocations: 0.5056 MB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3289, allocations: 15.97 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3291, allocations: 48.69 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.3297, allocations: 263.7 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.3297, allocations: 29.38 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.3298, allocations: 32.38 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.3304, allocations: 291.1 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3304, allocations: 192 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3304, allocations: 19.94 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3304, allocations: 8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.331, allocations: 243.8 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3321, allocations: 0.6506 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.3326, allocations: 228 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.3328, allocations: 105.3 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.3329, allocations: 4.234 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3329, allocations: 38.8 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.393e-06/0.3329, allocations: 0 / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0007972/0.3337, allocations: 313.2 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3337, allocations: 59.34 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3339, allocations: 207.7 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.334, allocations: 29.7 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3341, allocations: 188.4 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.3342, allocations: 83.33 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3343, allocations: 73.97 kB / 1.335 GB, free: 9.227 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3344, allocations: 326.8 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.3346, allocations: 80.5 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.3349, allocations: 143.9 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.3353, allocations: 214.7 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3353, allocations: 0 / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005648/0.3359, allocations: 277.3 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3359, allocations: 8 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3359, allocations: 0 / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.336, allocations: 4 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3362, allocations: 55.91 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3362, allocations: 7.938 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.3364, allocations: 31.77 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3364, allocations: 12 kB / 1.336 GB, free: 8.027 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.0001961/0.3366, allocations: 162.5 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3366, allocations: 19.86 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.3372, allocations: 256.6 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3372, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3372, allocations: 3.938 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3372, allocations: 4 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3375, allocations: 253 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3375, allocations: 0 / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.3377, allocations: 35.97 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3377, allocations: 0 / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.3378, allocations: 12 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3378, allocations: 3.938 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3378, allocations: 3.938 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.3383, allocations: 339.2 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.3383, allocations: 19.8 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3384, allocations: 8 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3385, allocations: 11.98 kB / 1.337 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.3386, allocations: 27.89 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3386, allocations: 12 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001177/0.3387, allocations: 133.5 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3387, allocations: 4 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003109/0.339, allocations: 59.78 kB / 1.337 GB, free: 6.629 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.0001314/0.3392, allocations: 116.3 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005134/0.3397, allocations: 208.2 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3397, allocations: 0 / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3399, allocations: 104.8 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3402, allocations: 29.61 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.3411, allocations: 490.3 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.3412, allocations: 167.3 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.3414, allocations: 34.28 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.3414, allocations: 27.42 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3414, allocations: 0 / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of Templates: time 0.005901/0.3473, allocations: 2.095 MB / 1.34 GB, free: 3.379 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 -s gbode -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: 8.685520158993313]