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.001096/0.001096, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006888/0.006888, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.006/3.006, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 11.12 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4429, allocations: 159.6 MB / 1.059 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001666/0.4446, allocations: 0.7205 MB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.4462, allocations: 0.9597 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.4464, allocations: 4 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.4464, allocations: 7.922 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.4466, allocations: 7.875 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.4469, allocations: 63.89 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.4471, allocations: 152 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.4474, allocations: 88.08 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.4476, allocations: 51.7 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.4478, allocations: 51.7 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.4478, allocations: 8 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.4478, allocations: 11.94 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.4479, allocations: 19.86 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.764e-05/0.448, allocations: 89.28 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.4482, allocations: 191.5 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4482, allocations: 0 / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4482, allocations: 0 / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.4482, allocations: 0 / 1.061 GB, free: 2.98 MB / 0.8106 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.0007947/0.449, allocations: 423.1 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4491, allocations: 8.031 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.4492, allocations: 16.75 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.4497, allocations: 265.5 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.4498, allocations: 12.38 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.4498, allocations: 16.38 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.4502, allocations: 151.2 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4503, allocations: 192 / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.4503, allocations: 7.938 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4503, allocations: 4 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.4507, allocations: 135.8 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.4516, allocations: 480.1 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.4519, allocations: 142.5 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4521, allocations: 60.77 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4521, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.4522, allocations: 30.56 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 9.21e-07/0.4522, allocations: 0 / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006168/0.4528, allocations: 197.7 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4529, allocations: 55.34 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.453, allocations: 156.4 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.4531, allocations: 33.7 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/0.4532, allocations: 120.2 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.4532, allocations: 31.55 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.4533, allocations: 25.7 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4534, allocations: 326.8 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.4536, allocations: 55.91 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.4538, allocations: 75.39 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.4541, allocations: 127.4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4541, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003829/0.4545, allocations: 165.4 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4545, allocations: 13.48 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4545, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.4546, allocations: 12.08 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.4547, allocations: 27.92 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4547, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.4549, allocations: 19.89 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.4549, allocations: 8 kB / 1.064 GB, free: 15.59 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.0001245/0.455, allocations: 135.2 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.4551, allocations: 7.906 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.4551, allocations: 20.7 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4551, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4551, allocations: 4 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4551, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.4554, allocations: 237.4 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4554, allocations: 0 / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.4556, allocations: 27.92 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.367e-06/0.4556, allocations: 8 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4556, allocations: 7.922 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4556, allocations: 4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4556, allocations: 0 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.456, allocations: 243.3 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.4561, allocations: 88.92 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4561, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4562, allocations: 15.98 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.4563, allocations: 15.98 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.4563, allocations: 3.984 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.459e-05/0.4564, allocations: 112.7 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4564, allocations: 7.938 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00028/0.4567, allocations: 23.94 kB / 1.065 GB, free: 14.55 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.0001756/0.4569, allocations: 111.2 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.4573, allocations: 123.9 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4573, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.4575, allocations: 67.89 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4578, allocations: 12.06 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.4585, allocations: 335.9 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4588, allocations: 0.7126 MB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.886e-05/0.4589, allocations: 17.08 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.459, allocations: 23.42 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.459, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.004292/0.4633, allocations: 1.09 MB / 1.067 GB, free: 12.05 MB / 0.8262 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