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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001379/0.001379, allocations: 105.3 kB / 16.36 MB, free: 5.828 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.001516/0.001517, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.453/2.453, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 72.05 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.376, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.003131/0.3792, allocations: 1.148 MB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.3813, allocations: 1.264 MB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.3815, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.625e-05/0.3816, allocations: 19.73 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.3818, allocations: 27.67 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.3826, allocations: 183.6 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.383, allocations: 275.9 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.3833, allocations: 111.8 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.3836, allocations: 107.6 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.3838, allocations: 123.5 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.3839, allocations: 28 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.384, allocations: 39.98 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.3841, allocations: 51.83 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3842, allocations: 107.5 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.3847, allocations: 334.8 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3847, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3847, allocations: 4 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.3847, allocations: 0 / 1.03 GB, free: 14.19 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001072/0.3858, allocations: 0.5394 MB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3858, allocations: 8.031 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.3859, allocations: 24.75 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.3867, allocations: 301.4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3867, allocations: 16.38 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.3868, allocations: 20.38 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.3873, allocations: 223.4 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3873, allocations: 0 / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.3873, allocations: 8 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3873, allocations: 8 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.3878, allocations: 151.8 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.3888, allocations: 0.6445 MB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.3893, allocations: 153.1 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.3897, allocations: 81.77 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.3897, allocations: 3.984 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.3902, allocations: 155.9 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/0.3902, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0008444/0.3911, allocations: 257.3 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3911, allocations: 77.11 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.3914, allocations: 183.2 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.3914, allocations: 29.7 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3916, allocations: 140.2 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3917, allocations: 55.28 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3918, allocations: 53.69 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3919, allocations: 322.8 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.3922, allocations: 87.92 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.3925, allocations: 125 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.393, allocations: 206.6 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.393, allocations: 4 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007013/0.3938, allocations: 283 kB / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.3938, allocations: 37.69 kB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3938, allocations: 0 / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3939, allocations: 4 kB / 1.035 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3941, allocations: 44.34 kB / 1.035 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3941, allocations: 3.938 kB / 1.035 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.3944, allocations: 55.73 kB / 1.035 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.3945, allocations: 15.98 kB / 1.035 GB, free: 9.609 MB / 0.8106 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.000136/0.3946, allocations: 133.8 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.3946, allocations: 19.81 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.3947, allocations: 21.39 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3947, allocations: 7.938 kB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3947, allocations: 0 / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3947, allocations: 3.984 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.395, allocations: 257.5 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.395, allocations: 4 kB / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.3952, allocations: 31.91 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3952, allocations: 0 / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3953, allocations: 12 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3953, allocations: 7.922 kB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3953, allocations: 0 / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.3958, allocations: 233.5 kB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.3959, allocations: 92.86 kB / 1.035 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3959, allocations: 0 / 1.035 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.396, allocations: 19.92 kB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.3961, allocations: 23.97 kB / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3962, allocations: 4 kB / 1.035 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.255e-05/0.3963, allocations: 123.2 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3963, allocations: 0 / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002833/0.3966, allocations: 47.84 kB / 1.036 GB, free: 8.488 MB / 0.8106 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.0001892/0.3968, allocations: 107.2 kB / 1.036 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006382/0.3974, allocations: 259.6 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.3974, allocations: 4.25 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.3977, allocations: 91.88 kB / 1.036 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.398, allocations: 33.06 kB / 1.036 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.3987, allocations: 341.2 kB / 1.036 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.3991, allocations: 0.728 MB / 1.037 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.3992, allocations: 25.53 kB / 1.037 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.3993, allocations: 19.44 kB / 1.037 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of SimCode: time 6.81e-07/0.3993, allocations: 4 kB / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of Templates: time 0.006843/0.4062, allocations: 2.478 MB / 1.04 GB, free: 4.406 MB / 0.8106 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 -s gbode -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/jenkins1/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