Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.001391/0.001391, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001542/0.001542, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.573/1.573, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.86/2.86, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.002149/0.002149, allocations: 67.89 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9505/0.9527, allocations: 176.1 MB / 1.154 GB, free: 33.52 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002068/0.9547, allocations: 0.97 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.9557, allocations: 1.012 MB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.9558, allocations: 2.531 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.9559, allocations: 11.81 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.956, allocations: 32.2 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.9562, allocations: 67.91 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.9564, allocations: 165.3 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.9565, allocations: 70.55 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.9567, allocations: 84.19 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.9568, allocations: 60.42 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.9568, allocations: 17.34 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.9569, allocations: 23.31 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.9569, allocations: 40.14 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.957, allocations: 63.75 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.9572, allocations: 220 kB / 1.157 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9572, allocations: 0 / 1.157 GB, free: 31.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9572, allocations: 0 / 1.157 GB, free: 31.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9572, allocations: 7.938 kB / 1.157 GB, free: 31.72 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006055/0.9578, allocations: 383.3 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.9578, allocations: 8.75 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.958, allocations: 25.23 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.9584, allocations: 191.5 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.9584, allocations: 10.12 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.9584, allocations: 16.94 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.9587, allocations: 157.4 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9587, allocations: 192 / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.9587, allocations: 7.938 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.9587, allocations: 5.625 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.959, allocations: 110 kB / 1.158 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.9595, allocations: 390.4 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.9598, allocations: 118.8 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.9599, allocations: 50.44 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.96, allocations: 0 / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.96, allocations: 37.44 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.96, allocations: 0 / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0005005/0.9605, allocations: 177.9 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.9605, allocations: 55.34 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.9606, allocations: 151.9 kB / 1.159 GB, free: 30.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.9606, allocations: 29.7 kB / 1.159 GB, free: 30.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.9607, allocations: 127.7 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.9607, allocations: 33.58 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.9607, allocations: 35.75 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.9608, allocations: 329.1 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.9609, allocations: 42.75 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.9611, allocations: 83.7 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.9614, allocations: 110.1 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9614, allocations: 3.938 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003329/0.9617, allocations: 156 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.9617, allocations: 5.469 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9617, allocations: 2.875 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.9617, allocations: 0 / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.9619, allocations: 25.64 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.9619, allocations: 6.812 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.962, allocations: 16.61 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.962, allocations: 13.28 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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 7.874e-05/0.9621, allocations: 130.8 kB / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.9621, allocations: 13.47 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.9622, allocations: 18.42 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.9622, allocations: 2.656 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9622, allocations: 0 / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.9622, allocations: 0 / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.9623, allocations: 165 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9623, allocations: 0 / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.9625, allocations: 30.03 kB / 1.16 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9625, allocations: 3.938 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.9625, allocations: 0 / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9625, allocations: 2.562 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9625, allocations: 0 / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.9628, allocations: 236 kB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.9628, allocations: 10.8 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.9628, allocations: 4 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.9629, allocations: 12.34 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.963, allocations: 18.72 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.963, allocations: 3.094 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.5e-05/0.9631, allocations: 113.7 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9631, allocations: 0 / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002502/0.9633, allocations: 31.27 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 7.501e-05/0.9634, allocations: 104.7 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003357/0.9637, allocations: 117.5 kB / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9637, allocations: 0 / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.9639, allocations: 56.77 kB / 1.161 GB, free: 28.93 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.9642, allocations: 17.5 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.9646, allocations: 274.4 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.404e-05/0.9647, allocations: 107.8 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.109e-05/0.9648, allocations: 16.97 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.9648, allocations: 16.66 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of SimCode: time 7.11e-07/0.9648, allocations: 0 / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of Templates: time 0.003867/0.9687, allocations: 1.256 MB / 1.162 GB, free: 28.49 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.985784944961779]