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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00148/0.00148, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001543, allocations: 69.03 kB / 0.9121 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4266, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.003429/0.4301, allocations: 1.146 MB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.4323, allocations: 1.248 MB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.4326, allocations: 4 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.4327, allocations: 23.73 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.433, allocations: 23.67 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.4338, allocations: 183.6 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.4342, allocations: 275.9 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.4345, allocations: 107.8 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.4348, allocations: 115.6 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.435, allocations: 111.5 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.4351, allocations: 31.98 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.4352, allocations: 39.98 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.4353, allocations: 47.84 kB / 1.072 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.4355, allocations: 115.4 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.4359, allocations: 319.2 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4359, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4359, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.436, allocations: 0 / 1.072 GB, free: 6.594 MB / 0.8262 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.00118/0.4372, allocations: 0.5355 MB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.4372, allocations: 12.02 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.4373, allocations: 28.66 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008226/0.4381, allocations: 305.8 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.4382, allocations: 16.38 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.4382, allocations: 20.38 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.4388, allocations: 219.4 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4388, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4388, allocations: 4 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4388, allocations: 12 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.4394, allocations: 155.8 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009756/0.4404, allocations: 0.6523 MB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.4408, allocations: 153.1 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.4411, allocations: 85.77 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.4411, allocations: 0 / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.4415, allocations: 149 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.4415, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0009198/0.4424, allocations: 257.3 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.4425, allocations: 77.11 kB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4427, allocations: 179.2 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.4427, allocations: 37.64 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4428, allocations: 140.2 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.4429, allocations: 47.28 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.443, allocations: 57.69 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4431, allocations: 326.8 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.4434, allocations: 79.94 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.4437, allocations: 122 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.4443, allocations: 218.6 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4443, allocations: 0 / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007504/0.445, allocations: 287.4 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.4451, allocations: 37.69 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4451, allocations: 4 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.4451, allocations: 0 / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4454, allocations: 43.91 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.4454, allocations: 3.938 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4457, allocations: 47.86 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.4458, allocations: 15.98 kB / 1.076 GB, free: 2.008 MB / 0.8262 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.0001489/0.4459, allocations: 135.6 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.446, allocations: 15.8 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.446, allocations: 17.41 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.446, allocations: 7.938 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4461, allocations: 4 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4461, allocations: 7.922 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.4463, allocations: 257.6 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4464, allocations: 3.984 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.4465, allocations: 31.92 kB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4466, allocations: 3.984 kB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.4466, allocations: 8.312 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.4466, allocations: 3.938 kB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4466, allocations: 4 kB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.4472, allocations: 227.2 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.4473, allocations: 100.9 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.4473, allocations: 0 / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.4474, allocations: 23.92 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.4475, allocations: 19.97 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.4475, allocations: 8 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.283e-05/0.4476, allocations: 119.2 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4476, allocations: 0 / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002823/0.4479, allocations: 43.84 kB / 1.077 GB, free: 0.8906 MB / 0.8262 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.0001978/0.4481, allocations: 123.2 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000701/0.4488, allocations: 259.1 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4489, allocations: 0 / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.4492, allocations: 99.75 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4495, allocations: 28.23 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.4502, allocations: 344.9 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4506, allocations: 0.7319 MB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.4507, allocations: 25.53 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.4508, allocations: 23.44 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.4508, allocations: 4 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.00697/0.4578, allocations: 2.481 MB / 1.081 GB, free: 12.77 MB / 0.8419 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