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.Overrides.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.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008422/0.008422, allocations: 102.3 kB / 15.73 MB, free: 5.902 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.001783/0.001782, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.534/1.534, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.951/2.951, allocations: 461.8 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.88 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4468, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.003765/0.4506, allocations: 1.347 MB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.4529, allocations: 1.318 MB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.4532, allocations: 4 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.4533, allocations: 35.53 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.4536, allocations: 39.53 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008011/0.4544, allocations: 233.4 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/0.4548, allocations: 372.3 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.4552, allocations: 172.9 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.4554, allocations: 159.4 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.4556, allocations: 171.2 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.4557, allocations: 40 kB / 1.212 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.4558, allocations: 55.98 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.4559, allocations: 75.77 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.4561, allocations: 167.2 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.4566, allocations: 474.2 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4566, allocations: 0 / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4567, allocations: 0 / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.4567, allocations: 0 / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001266/0.4579, allocations: 0.642 MB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.458, allocations: 8.625 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.4581, allocations: 40.5 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/0.459, allocations: 356.3 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.4591, allocations: 28.94 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.4591, allocations: 32.38 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.4598, allocations: 304.4 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4599, allocations: 3.938 kB / 1.214 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.4599, allocations: 16 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4599, allocations: 4 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.4606, allocations: 232.5 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.462, allocations: 0.9868 MB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.4626, allocations: 211.8 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.4629, allocations: 102.6 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.4629, allocations: 3.938 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.4634, allocations: 181.9 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 3.968e-06/0.4634, allocations: 3.984 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22): time 0.001085/0.4645, allocations: 325.1 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/0.4646, allocations: 102.8 kB / 1.216 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.4648, allocations: 231.9 kB / 1.216 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.4649, allocations: 33.7 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.465, allocations: 176.2 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.4651, allocations: 67.17 kB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.4653, allocations: 85.58 kB / 1.216 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.4655, allocations: 330.8 kB / 1.217 GB, free: 204 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.4659, allocations: 100.2 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.4663, allocations: 183.6 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/0.467, allocations: 296.6 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.467, allocations: 4 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009106/0.4679, allocations: 366.7 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.468, allocations: 37.64 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.468, allocations: 4 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.468, allocations: 4 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.4683, allocations: 56.2 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4684, allocations: 4 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.4687, allocations: 63.69 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.4688, allocations: 12 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001942/0.469, allocations: 158.2 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.469, allocations: 31.64 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.4691, allocations: 21.41 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4691, allocations: 4 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4691, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4691, allocations: 3.984 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.4695, allocations: 313.4 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4696, allocations: 4.625 kB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.4698, allocations: 47.89 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4698, allocations: 7.938 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.4698, allocations: 4 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4698, allocations: 4 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4699, allocations: 3.938 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.4706, allocations: 276.5 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.4707, allocations: 100.8 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.4707, allocations: 7.938 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4709, allocations: 19.97 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.471, allocations: 35.97 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.471, allocations: 11.98 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001251/0.4712, allocations: 145.9 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4712, allocations: 0 / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003026/0.4715, allocations: 63.69 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002053/0.4717, allocations: 119.4 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008255/0.4725, allocations: 307.1 kB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4726, allocations: 0 / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.4729, allocations: 121.2 kB / 1.219 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.4733, allocations: 46.14 kB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4745, allocations: 459.1 kB / 1.22 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.475, allocations: 0.7558 MB / 1.221 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001822/0.4752, allocations: 42.28 kB / 1.221 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.711e-05/0.4753, allocations: 27.44 kB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of SimCode: time 4.378e-06/0.4753, allocations: 0 / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of Templates: time 0.008204/0.4835, allocations: 3.231 MB / 1.224 GB, free: 8.555 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches