Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.009413/0.009413, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.002052/0.002052, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.546/1.546, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3704, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002557/0.373, allocations: 1.119 MB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3747, allocations: 1.256 MB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3748, allocations: 0 / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.3749, allocations: 23.67 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.3751, allocations: 31.72 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.3757, allocations: 182.6 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.376, allocations: 283.8 kB / 1.211 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.3762, allocations: 111.8 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3764, allocations: 107.6 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3765, allocations: 123.5 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.3766, allocations: 28 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.3767, allocations: 39.98 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.3767, allocations: 51.78 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3769, allocations: 115.4 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.3772, allocations: 322.8 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3773, allocations: 4 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3773, allocations: 4 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.3773, allocations: 0 / 1.211 GB, free: 5.828 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009476/0.3782, allocations: 0.5375 MB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3783, allocations: 8.625 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.3784, allocations: 28.66 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.3791, allocations: 308.7 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3791, allocations: 12.38 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.3791, allocations: 28.36 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.3796, allocations: 211.5 kB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3796, allocations: 3.938 kB / 1.213 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.3797, allocations: 4 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.3797, allocations: 11.94 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.3802, allocations: 147.9 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009793/0.3811, allocations: 0.6406 MB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.3815, allocations: 161.1 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.3818, allocations: 81.77 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3818, allocations: 0 / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.3822, allocations: 160.9 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3822, allocations: 0 / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.0008262/0.383, allocations: 249.5 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3831, allocations: 85.03 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3833, allocations: 184 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3833, allocations: 25.7 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3834, allocations: 140.2 kB / 1.214 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.3834, allocations: 51.3 kB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-05/0.3835, allocations: 53.69 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3837, allocations: 322.8 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.384, allocations: 87.92 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.3842, allocations: 125.1 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.3848, allocations: 215.1 kB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3848, allocations: 4 kB / 1.215 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006871/0.3855, allocations: 294.9 kB / 1.215 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.3855, allocations: 34.73 kB / 1.216 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3855, allocations: 4 kB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3856, allocations: 3.938 kB / 1.216 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3858, allocations: 44.03 kB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3858, allocations: 0 / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3861, allocations: 51.8 kB / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3861, allocations: 11.98 kB / 1.216 GB, free: 1.242 MB / 0.9669 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.0001419/0.3863, allocations: 137.8 kB / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3863, allocations: 19.81 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.3863, allocations: 17.39 kB / 1.216 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3864, allocations: 15.86 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3864, allocations: 0 / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3864, allocations: 0 / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3867, allocations: 265.5 kB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3867, allocations: 4 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3869, allocations: 31.91 kB / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3869, allocations: 0 / 1.216 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3869, allocations: 8 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3869, allocations: 3.938 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3869, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.3875, allocations: 227.9 kB / 1.216 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.3875, allocations: 92.86 kB / 1.216 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3876, allocations: 4 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3877, allocations: 19.92 kB / 1.216 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.249e-05/0.3878, allocations: 23.97 kB / 1.216 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3878, allocations: 7.984 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.32e-05/0.3879, allocations: 123.2 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3879, allocations: 0 / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002667/0.3882, allocations: 51.84 kB / 1.217 GB, free: 120 kB / 0.9669 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.0002205/0.3884, allocations: 103.2 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.3891, allocations: 259.2 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3891, allocations: 8.188 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.3894, allocations: 87.88 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3897, allocations: 23.98 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.3903, allocations: 336.7 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3907, allocations: 0.7319 MB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3908, allocations: 21.55 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3909, allocations: 23.44 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.3909, allocations: 0 / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.005787/0.3967, allocations: 2.567 MB / 1.221 GB, free: 11.95 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches