Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001369/0.001369, allocations: 80.2 kB / 19.76 MB, free: 2.027 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.001601/0.001601, allocations: 158.4 kB / 23.01 MB, free: 4.949 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.941 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 3.243/3.243, allocations: 377.9 MB / 0.6228 GB, free: 12.58 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.SeriesFanCVF.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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.002127/0.002127, allocations: 60.19 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9612, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001994/0.9632, allocations: 0.9757 MB / 1.155 GB, free: 32.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.9642, allocations: 1.007 MB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.9642, allocations: 3.125 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.9643, allocations: 19.22 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.9644, allocations: 25.73 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.9646, allocations: 60.94 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.9648, allocations: 171.4 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.9649, allocations: 55.09 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.9651, allocations: 89.56 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.9652, allocations: 62.17 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.9652, allocations: 16.81 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.9653, allocations: 19 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.9653, allocations: 44.25 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.9653, allocations: 56.75 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.9655, allocations: 213.2 kB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9655, allocations: 0 / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/0.9655, allocations: 4 kB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.9655, allocations: 2.938 kB / 1.157 GB, free: 31.52 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000566/0.9661, allocations: 379.4 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.9662, allocations: 11.84 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.9663, allocations: 23.7 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.9667, allocations: 193.6 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.9667, allocations: 12.75 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.9667, allocations: 16.38 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.967, allocations: 151.1 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.967, allocations: 192 / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.967, allocations: 7.938 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.967, allocations: 5.406 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.9673, allocations: 121 kB / 1.158 GB, free: 30.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.9678, allocations: 393.8 kB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.9681, allocations: 106.4 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.9682, allocations: 53.67 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.9683, allocations: 2.875 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.9683, allocations: 34.56 kB / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.9683, allocations: 0 / 1.158 GB, free: 30.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0004921/0.9688, allocations: 174.5 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.9688, allocations: 54.34 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.9689, allocations: 160 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.9689, allocations: 29.64 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.9689, allocations: 120.4 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.969, allocations: 33.81 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.969, allocations: 46.59 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.9691, allocations: 320.8 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.9692, allocations: 54.09 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.9693, allocations: 70.09 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.9696, allocations: 110.8 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9696, allocations: 0 / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003139/0.9699, allocations: 152.2 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.9699, allocations: 6 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.9699, allocations: 3.062 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.9699, allocations: 0 / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.9701, allocations: 29.73 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.9701, allocations: 2.938 kB / 1.159 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.9702, allocations: 25.03 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.9702, allocations: 2.75 kB / 1.159 GB, free: 29.47 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.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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.256e-05/0.9703, allocations: 133 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.9703, allocations: 13.05 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.9703, allocations: 18.53 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9703, allocations: 2.562 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9703, allocations: 0 / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9703, allocations: 0 / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.9705, allocations: 160.5 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9705, allocations: 0 / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.9706, allocations: 28.5 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9706, allocations: 2.5 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.9706, allocations: 4 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9706, allocations: 0 / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9706, allocations: 2.469 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.9709, allocations: 224.6 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.9709, allocations: 18.66 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.9709, allocations: 10.75 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.9711, allocations: 6.062 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.9711, allocations: 27.25 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.9711, allocations: 6.812 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.9712, allocations: 111.6 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9712, allocations: 0 / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002394/0.9714, allocations: 24.3 kB / 1.16 GB, free: 28.88 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.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 8.492e-05/0.9715, allocations: 102.1 kB / 1.16 GB, free: 28.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.9718, allocations: 114.9 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9718, allocations: 0 / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.972, allocations: 60.88 kB / 1.16 GB, free: 28.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.9723, allocations: 23.89 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.9727, allocations: 285.9 kB / 1.161 GB, free: 28.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.9728, allocations: 98.7 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.034e-05/0.9728, allocations: 21.5 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.9729, allocations: 21.2 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/0.9729, allocations: 0 / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of Templates: time 0.003761/0.9766, allocations: 1.242 MB / 1.162 GB, free: 28.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.31483633397147]