Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108.8 kB / 16.41 MB, free: 6.41 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.001582/0.001582, allocations: 189.8 kB / 17.35 MB, free: 5.695 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.561/1.561, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.085, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002693/1.088, allocations: 1.141 MB / 1.09 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001754/1.09, allocations: 1.228 MB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/1.09, allocations: 3.375 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.215e-05/1.09, allocations: 19.73 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/1.09, allocations: 28.59 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/1.091, allocations: 197.9 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/1.091, allocations: 265.7 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/1.091, allocations: 112.5 kB / 1.092 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/1.092, allocations: 110.4 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/1.092, allocations: 119.6 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/1.092, allocations: 28.16 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/1.092, allocations: 41.5 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/1.092, allocations: 51.59 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/1.092, allocations: 117.8 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005106/1.093, allocations: 327.7 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.093, allocations: 1.328 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.043e-06/1.093, allocations: 0 / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.093, allocations: 0 / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00101/1.094, allocations: 0.5404 MB / 1.093 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.094, allocations: 13.19 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/1.094, allocations: 21.59 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/1.095, allocations: 311.8 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/1.095, allocations: 14.61 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/1.095, allocations: 27.09 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/1.095, allocations: 217 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.095, allocations: 0.5938 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/1.095, allocations: 5.938 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/1.095, allocations: 8.75 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/1.096, allocations: 156 kB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009241/1.097, allocations: 0.6339 MB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/1.097, allocations: 163 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/1.098, allocations: 78.62 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/1.098, allocations: 6.078 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/1.098, allocations: 152.6 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/1.098, allocations: 0 / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.0009804/1.099, allocations: 254.5 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1.099, allocations: 84.25 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/1.099, allocations: 179.6 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.099, allocations: 28.08 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/1.099, allocations: 145.8 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/1.099, allocations: 41.41 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.1, allocations: 61.23 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.479e-05/1.1, allocations: 327.6 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/1.1, allocations: 77.08 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/1.1, allocations: 127 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/1.101, allocations: 210.2 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.101, allocations: 0.5938 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007904/1.102, allocations: 293.1 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/1.102, allocations: 39.11 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.102, allocations: 6.094 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.102, allocations: 2.406 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/1.102, allocations: 32.8 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.102, allocations: 7 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/1.102, allocations: 49.45 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/1.102, allocations: 10.08 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.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 (20): * Single equations (assignments): 19 * 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.0001275/1.103, allocations: 139.5 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/1.103, allocations: 16.06 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/1.103, allocations: 21.73 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.103, allocations: 3.016 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.103, allocations: 1.25 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.103, allocations: 1.922 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/1.103, allocations: 267.4 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.103, allocations: 5.328 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/1.103, allocations: 32.89 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.103, allocations: 2.109 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.103, allocations: 6.453 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.103, allocations: 1.375 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.103, allocations: 0.625 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/1.104, allocations: 231.9 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/1.104, allocations: 93.44 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/1.104, allocations: 10.52 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.104, allocations: 13.91 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.104, allocations: 23.56 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/1.104, allocations: 13.3 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001116/1.104, allocations: 118.1 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.104, allocations: 0 / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003078/1.105, allocations: 47.14 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.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 (17): * Single equations (assignments): 16 * 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.0002024/1.105, allocations: 109.5 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007632/1.106, allocations: 263.3 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.106, allocations: 0.75 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002991/1.106, allocations: 86.14 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/1.106, allocations: 33.94 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/1.107, allocations: 346.6 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/1.108, allocations: 0.735 MB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/1.108, allocations: 25.27 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/1.108, allocations: 0 / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of Templates: time 0.006469/1.114, allocations: 2.526 MB / 1.101 GB, free: 14.03 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches