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.001429/0.001429, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.01146/0.01146, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.537/1.537, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.653/2.653, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003972, allocations: 8 kB / 0.816 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.9343, allocations: 142.4 MB / 0.9551 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.001418/0.9358, allocations: 0.8258 MB / 0.9559 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.9375, allocations: 1.228 MB / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.9376, allocations: 2.25 kB / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.9376, allocations: 15.8 kB / 0.9571 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.9378, allocations: 14.25 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.9384, allocations: 179.7 kB / 0.9573 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.9388, allocations: 238.9 kB / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.9391, allocations: 104.9 kB / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.9393, allocations: 72.95 kB / 0.9577 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.9394, allocations: 90.61 kB / 0.9578 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.9395, allocations: 8.969 kB / 0.9578 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.9396, allocations: 28.8 kB / 0.9578 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.9396, allocations: 24.86 kB / 0.9579 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.9398, allocations: 116.2 kB / 0.958 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.9402, allocations: 299.5 kB / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.9402, allocations: 1.562 kB / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9402, allocations: 0 / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.9402, allocations: 0 / 0.9583 GB, free: 5.27 MB / 0.7169 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.0009529/0.9412, allocations: 0.5154 MB / 0.9588 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.9412, allocations: 10.44 kB / 0.9588 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.9413, allocations: 29.33 kB / 0.9588 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/0.9421, allocations: 313.3 kB / 0.9591 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.9422, allocations: 20.62 kB / 0.9591 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.9422, allocations: 23.25 kB / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.9427, allocations: 221.8 kB / 0.9593 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.9428, allocations: 0 / 0.9593 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.9428, allocations: 6.75 kB / 0.9594 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.9428, allocations: 8.125 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.9434, allocations: 170.9 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/0.9443, allocations: 0.6427 MB / 0.9602 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.9448, allocations: 167.7 kB / 0.9603 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.9451, allocations: 96.16 kB / 0.9604 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.9451, allocations: 1.359 kB / 0.9604 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.9456, allocations: 164.6 kB / 0.9606 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/0.9456, allocations: 0 / 0.9606 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.00105/0.9467, allocations: 282.5 kB / 0.9608 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.9468, allocations: 84.08 kB / 0.9609 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.9469, allocations: 170.9 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.947, allocations: 32.89 kB / 0.9611 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.9471, allocations: 131.5 kB / 0.9612 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.9471, allocations: 48.84 kB / 0.9613 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.9472, allocations: 32.7 kB / 0.9613 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.9473, allocations: 330.9 kB / 0.9616 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.9476, allocations: 86.69 kB / 0.9617 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.948, allocations: 135.7 kB / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.9485, allocations: 233 kB / 0.9621 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9486, allocations: 0 / 0.9621 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007367/0.9493, allocations: 306 kB / 0.9623 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.9494, allocations: 32.98 kB / 0.9624 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.9494, allocations: 5.875 kB / 0.9624 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.9494, allocations: 6.125 kB / 0.9624 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.9496, allocations: 37.12 kB / 0.9624 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9497, allocations: 3 kB / 0.9624 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.95, allocations: 68.38 kB / 0.9625 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.95, allocations: 12.41 kB / 0.9625 GB, free: 1.887 MB / 0.7169 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.000119/0.9501, allocations: 138.2 kB / 0.9626 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.9502, allocations: 18.98 kB / 0.9627 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.9502, allocations: 25.17 kB / 0.9627 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9502, allocations: 2.688 kB / 0.9627 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.9502, allocations: 4 kB / 0.9627 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9502, allocations: 1.125 kB / 0.9627 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.9505, allocations: 270.1 kB / 0.9629 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9505, allocations: 0 / 0.9629 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.9507, allocations: 37.69 kB / 0.963 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9507, allocations: 1 kB / 0.963 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.9507, allocations: 10.44 kB / 0.963 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.9507, allocations: 1.219 kB / 0.963 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9507, allocations: 4 kB / 0.963 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.9513, allocations: 235.6 kB / 0.9632 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.9513, allocations: 88.83 kB / 0.9633 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.9514, allocations: 9.281 kB / 0.9633 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.9515, allocations: 15.36 kB / 0.9633 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.9516, allocations: 41.14 kB / 0.9634 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.9516, allocations: 5.094 kB / 0.9634 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.426e-05/0.9517, allocations: 122.7 kB / 0.9635 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9517, allocations: 0 / 0.9635 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002835/0.952, allocations: 46.66 kB / 0.9635 GB, free: 1.027 MB / 0.7169 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.0002005/0.9522, allocations: 114.4 kB / 0.9636 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.9529, allocations: 267.8 kB / 0.9639 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.9529, allocations: 256 / 0.9639 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.9532, allocations: 104.1 kB / 0.964 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.9535, allocations: 28.61 kB / 0.964 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.9541, allocations: 414.1 kB / 0.9644 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.9544, allocations: 0.7298 MB / 0.9651 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.9545, allocations: 21.3 kB / 0.9652 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.9546, allocations: 22.27 kB / 0.9652 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.9546, allocations: 0 / 0.9652 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.006021/0.9606, allocations: 2.242 MB / 0.9674 GB, free: 14.56 MB / 0.7325 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/jenkins/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