Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01027/0.01027, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001976/0.001976, allocations: 189.2 kB / 16.67 MB, free: 5.422 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.89 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.126, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002906/1.129, allocations: 1.016 MB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001637/1.131, allocations: 0.9713 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/1.131, allocations: 8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/1.131, allocations: 15.8 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/1.131, allocations: 23.73 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/1.132, allocations: 67.92 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/1.132, allocations: 168 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/1.132, allocations: 88.17 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/1.132, allocations: 75.7 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/1.132, allocations: 71.61 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/1.132, allocations: 20 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/1.132, allocations: 16 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/1.132, allocations: 39.84 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/1.132, allocations: 75.59 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/1.133, allocations: 211 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.133, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/1.133, allocations: 0 / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.973e-06/1.133, allocations: 8 kB / 1.211 GB, free: 10.75 MB / 0.9356 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.0007045/1.134, allocations: 446.5 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.134, allocations: 8.031 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/1.134, allocations: 16.75 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/1.134, allocations: 263.8 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/1.134, allocations: 16.38 kB / 1.211 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/1.134, allocations: 12.38 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/1.134, allocations: 146 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.134, allocations: 192 / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/1.134, allocations: 7.938 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.135, allocations: 4 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/1.135, allocations: 115.9 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/1.136, allocations: 484.1 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/1.136, allocations: 122.5 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/1.136, allocations: 48.83 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/1.136, allocations: 11.94 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/1.136, allocations: 30.56 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/1.136, allocations: 0 / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005371/1.137, allocations: 173.5 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.137, allocations: 51.41 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/1.137, allocations: 154.3 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/1.137, allocations: 29.7 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/1.137, allocations: 124.2 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/1.137, allocations: 31.55 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/1.137, allocations: 41.7 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.137, allocations: 322.8 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/1.137, allocations: 39.97 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/1.137, allocations: 83.27 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/1.138, allocations: 119.7 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.138, allocations: 3.938 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003522/1.138, allocations: 153.3 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/1.138, allocations: 8 kB / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.138, allocations: 0 / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.138, allocations: 0 / 1.213 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/1.138, allocations: 32.06 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.138, allocations: 3.938 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/1.139, allocations: 12 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/1.139, allocations: 7.984 kB / 1.214 GB, free: 7.441 MB / 0.9356 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.0001215/1.139, allocations: 128.2 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/1.139, allocations: 15.81 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/1.139, allocations: 12.72 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.139, allocations: 7.984 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.139, allocations: 4 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.139, allocations: 3.984 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/1.139, allocations: 237.5 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.139, allocations: 4 kB / 1.214 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/1.139, allocations: 27.91 kB / 1.214 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/1.139, allocations: 0 / 1.214 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.139, allocations: 0 / 1.214 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.139, allocations: 4 kB / 1.214 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.139, allocations: 0 / 1.214 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/1.14, allocations: 239.2 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/1.14, allocations: 85.02 kB / 1.214 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/1.14, allocations: 7.984 kB / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.14, allocations: 4 kB / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/1.14, allocations: 19.97 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/1.14, allocations: 0 / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.346e-05/1.14, allocations: 119.2 kB / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.14, allocations: 0 / 1.214 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002529/1.14, allocations: 27.84 kB / 1.214 GB, free: 6.414 MB / 0.9356 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.0001616/1.14, allocations: 111.2 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003837/1.141, allocations: 120 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.141, allocations: 0 / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.141, allocations: 55.91 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/1.141, allocations: 19.98 kB / 1.215 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/1.142, allocations: 261 kB / 1.215 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/1.142, allocations: 0.72 MB / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.87e-05/1.142, allocations: 17.08 kB / 1.216 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/1.142, allocations: 23.44 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/1.142, allocations: 0 / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of Templates: time 0.004386/1.147, allocations: 1.256 MB / 1.217 GB, free: 3.836 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches