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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001232/0.001232, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.22 kB / 0.8985 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4483, allocations: 157.4 MB / 1.052 GB, free: 8.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.003508/0.4519, allocations: 1.389 MB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.4543, allocations: 1.33 MB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.4547, allocations: 4 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.4548, allocations: 23.72 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.4551, allocations: 19.8 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.456, allocations: 206.8 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005958/0.4566, allocations: 340.3 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.4569, allocations: 176.8 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.4571, allocations: 131.5 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.4574, allocations: 151.3 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.4574, allocations: 20 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.4576, allocations: 39.97 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.4577, allocations: 59.77 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.4579, allocations: 147.2 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.4584, allocations: 438.8 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4584, allocations: 0 / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4584, allocations: 4 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.4584, allocations: 0 / 1.056 GB, free: 4.34 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001275/0.4597, allocations: 0.641 MB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4597, allocations: 12.03 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.4598, allocations: 40.47 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009536/0.4608, allocations: 360.3 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.4608, allocations: 24.94 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.4609, allocations: 28.38 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.4616, allocations: 316.3 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4616, allocations: 3.938 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.4616, allocations: 12 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.4616, allocations: 8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.4623, allocations: 228.5 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.4638, allocations: 0.9908 MB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.4643, allocations: 207.8 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.4647, allocations: 106.7 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.4647, allocations: 7.984 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/0.4652, allocations: 183.8 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.4652, allocations: 0 / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.001055/0.4663, allocations: 317 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.4664, allocations: 106.8 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.4666, allocations: 224 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.4666, allocations: 29.7 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4668, allocations: 180.2 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.4669, allocations: 67.09 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.467, allocations: 77.67 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4672, allocations: 342.8 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.4675, allocations: 96.2 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.468, allocations: 183.6 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.4687, allocations: 304.5 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4687, allocations: 0 / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009033/0.4696, allocations: 375.1 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.4697, allocations: 41.64 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4697, allocations: 4.109 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4697, allocations: 8 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.47, allocations: 56.2 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.4701, allocations: 7.938 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.4704, allocations: 59.69 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.4704, allocations: 20 kB / 1.062 GB, free: 14.34 MB / 0.8262 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.0002471/0.4707, allocations: 153.7 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.4708, allocations: 27.73 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.4708, allocations: 21.41 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4708, allocations: 4 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4708, allocations: 0 / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.4709, allocations: 7.984 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.4713, allocations: 309.4 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4713, allocations: 3.938 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.4715, allocations: 43.89 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4715, allocations: 7.938 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.4715, allocations: 8 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4715, allocations: 0 / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4716, allocations: 4 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.4723, allocations: 270.4 kB / 1.063 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.4724, allocations: 96.86 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.4724, allocations: 7.938 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4726, allocations: 19.97 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.4727, allocations: 39.89 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4727, allocations: 4 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001267/0.4729, allocations: 149.9 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4729, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003366/0.4732, allocations: 67.69 kB / 1.063 GB, free: 13.02 MB / 0.8262 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.0002232/0.4735, allocations: 111.2 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009055/0.4744, allocations: 312.4 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4744, allocations: 0 / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.4747, allocations: 120.8 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4751, allocations: 40.59 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.4761, allocations: 0.5533 MB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.4765, allocations: 0.7599 MB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.4767, allocations: 34.3 kB / 1.065 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.4768, allocations: 31.42 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4768, allocations: 0 / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of Templates: time 0.007724/0.4845, allocations: 2.827 MB / 1.068 GB, free: 8.242 MB / 0.8262 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