Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006716/0.006717, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.06/3.06, allocations: 470.6 MB / 0.7442 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004041, allocations: 12.72 kB / 0.9123 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4393, allocations: 161.4 MB / 1.07 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001681/0.441, allocations: 0.7145 MB / 1.071 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.4425, allocations: 0.9635 MB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.4426, allocations: 4 kB / 1.072 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.665e-05/0.4426, allocations: 7.922 kB / 1.072 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.4428, allocations: 11.88 kB / 1.072 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.443, allocations: 59.94 kB / 1.072 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.4432, allocations: 148.1 kB / 1.072 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.4435, allocations: 84.17 kB / 1.072 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.4436, allocations: 47.72 kB / 1.072 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.4437, allocations: 59.64 kB / 1.072 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.4438, allocations: 4 kB / 1.072 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.4438, allocations: 8 kB / 1.072 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.4438, allocations: 15.92 kB / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.4439, allocations: 93.22 kB / 1.072 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.4442, allocations: 191.5 kB / 1.072 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4442, allocations: 0 / 1.072 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4442, allocations: 0 / 1.072 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4442, allocations: 0 / 1.072 GB, free: 8.934 MB / 0.8262 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.0007489/0.445, allocations: 423.1 kB / 1.073 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.445, allocations: 8.031 kB / 1.073 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.4451, allocations: 20.66 kB / 1.073 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.4456, allocations: 269.6 kB / 1.073 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.4456, allocations: 8.375 kB / 1.073 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.4457, allocations: 20.31 kB / 1.073 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.4461, allocations: 150 kB / 1.073 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4461, allocations: 4.125 kB / 1.073 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.4461, allocations: 7.938 kB / 1.073 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4461, allocations: 8 kB / 1.073 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.4465, allocations: 128.8 kB / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007986/0.4473, allocations: 492 kB / 1.074 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.4477, allocations: 130.6 kB / 1.074 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.4479, allocations: 56.83 kB / 1.074 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.4479, allocations: 0 / 1.074 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.4479, allocations: 38.5 kB / 1.074 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.4479, allocations: 4 kB / 1.074 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006229/0.4486, allocations: 197.4 kB / 1.074 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.4486, allocations: 51.41 kB / 1.074 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4488, allocations: 150.3 kB / 1.074 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4488, allocations: 33.7 kB / 1.074 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.4489, allocations: 120.2 kB / 1.075 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.449, allocations: 31.55 kB / 1.075 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.449, allocations: 29.7 kB / 1.075 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4492, allocations: 322.8 kB / 1.075 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.4494, allocations: 51.97 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.4496, allocations: 81.16 kB / 1.075 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.4499, allocations: 123.3 kB / 1.075 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4499, allocations: 8 kB / 1.075 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004175/0.4503, allocations: 161.4 kB / 1.075 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4504, allocations: 8.078 kB / 1.075 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4504, allocations: 4 kB / 1.075 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4504, allocations: 4 kB / 1.075 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.4506, allocations: 23.98 kB / 1.075 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4506, allocations: 3.938 kB / 1.075 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4507, allocations: 19.97 kB / 1.075 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.4507, allocations: 8 kB / 1.075 GB, free: 5.547 MB / 0.8262 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.0001552/0.4509, allocations: 136 kB / 1.075 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.4509, allocations: 11.81 kB / 1.075 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.451, allocations: 20.7 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.451, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.451, allocations: 4 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.451, allocations: 3.938 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.4513, allocations: 237.5 kB / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4513, allocations: 0 / 1.076 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.4515, allocations: 31.86 kB / 1.076 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.4515, allocations: 4 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4515, allocations: 3.984 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4515, allocations: 0 / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4515, allocations: 0 / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.452, allocations: 243.9 kB / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.452, allocations: 88.92 kB / 1.076 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4521, allocations: 0 / 1.076 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4522, allocations: 15.98 kB / 1.076 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.4523, allocations: 15.98 kB / 1.076 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.4523, allocations: 11.92 kB / 1.076 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.318e-05/0.4524, allocations: 111.2 kB / 1.076 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4524, allocations: 0 / 1.076 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002661/0.4526, allocations: 27.84 kB / 1.076 GB, free: 4.508 MB / 0.8262 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.000159/0.4528, allocations: 115.2 kB / 1.076 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.4532, allocations: 123.9 kB / 1.076 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4532, allocations: 0 / 1.076 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.4534, allocations: 64.14 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4537, allocations: 25.81 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.4544, allocations: 328 kB / 1.077 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.4549, allocations: 0.7126 MB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.455, allocations: 17.08 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.455, allocations: 19.42 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.455, allocations: 4 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of Templates: time 0.004979/0.46, allocations: 1.092 MB / 1.079 GB, free: 2.004 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches