Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.001743/0.001743, 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.002988/0.002988, allocations: 214.6 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.639/1.639, allocations: 230.6 MB / 256 MB, free: 8.02 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.442/3.442, allocations: 0.4899 GB / 0.7951 GB, free: 33.29 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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.002156/0.002156, allocations: 67.2 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4557, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002616/0.4583, allocations: 1.019 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.4597, allocations: 1.026 MB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.4598, allocations: 4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.616e-05/0.4598, allocations: 11.81 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.46, allocations: 27.73 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.4602, allocations: 71.86 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.4604, allocations: 164 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.4606, allocations: 68.55 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.4609, allocations: 75.72 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.461, allocations: 79.61 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.461, allocations: 16 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.4611, allocations: 27.98 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.4611, allocations: 27.92 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.4612, allocations: 75.59 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.4615, allocations: 215 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4615, allocations: 8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4615, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4615, allocations: 0 / 1.329 GB, free: 14.54 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007251/0.4622, allocations: 377.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4623, allocations: 8.031 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.4625, allocations: 28.83 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.4629, allocations: 199.5 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4629, allocations: 8.375 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.4629, allocations: 12.38 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.4633, allocations: 157.9 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4633, allocations: 192 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.4633, allocations: 11.94 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4633, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.4637, allocations: 115.9 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.4644, allocations: 439.4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.4647, allocations: 114.5 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.4648, allocations: 52.83 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4648, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4649, allocations: 38.55 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.4649, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005716/0.4654, allocations: 177.4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4655, allocations: 51.41 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.4657, allocations: 163.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.4657, allocations: 25.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.4658, allocations: 124.4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.4658, allocations: 27.75 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.4659, allocations: 41.7 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.466, allocations: 322.8 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4662, allocations: 47.95 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.4663, allocations: 77.31 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4666, allocations: 119.6 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4666, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003642/0.467, allocations: 149.5 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.467, allocations: 8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.467, allocations: 96 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.467, allocations: 7.938 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.4672, allocations: 27.97 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4672, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.632e-05/0.4673, allocations: 19.94 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4673, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 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 0.0001237/0.4674, allocations: 134.2 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.4675, allocations: 11.95 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.4675, allocations: 16.7 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.4675, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4675, allocations: 7.922 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4675, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.4678, allocations: 220.4 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4678, allocations: 8 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.4679, allocations: 15.98 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4679, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4679, allocations: 4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4679, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4679, allocations: 4 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.4683, allocations: 231.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.4684, allocations: 15.89 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4684, allocations: 4 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4685, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.4686, allocations: 27.91 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4686, allocations: 8 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.4687, allocations: 113.4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4687, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002599/0.4689, allocations: 27.89 kB / 1.333 GB, free: 10.51 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: 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 0.0001347/0.4691, allocations: 106.6 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004062/0.4695, allocations: 107.9 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4695, allocations: 4 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.4696, allocations: 55.89 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.47, allocations: 16 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.4706, allocations: 273.2 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.4709, allocations: 0.7161 MB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.831e-05/0.471, allocations: 17.08 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.4711, allocations: 19.38 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4711, allocations: 4 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of Templates: time 0.004798/0.4759, allocations: 1.319 MB / 1.335 GB, free: 7.871 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.037220939062536]