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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007487/0.007487, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001767/0.001767, allocations: 197.1 kB / 16.79 MB, free: 5.809 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.43/2.43, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.91 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8204, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002487/0.8229, allocations: 1.188 MB / 0.9508 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.8246, allocations: 1.236 MB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.8247, allocations: 2.875 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.469e-05/0.8248, allocations: 11.86 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.8249, allocations: 23.77 kB / 0.952 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.8254, allocations: 171.1 kB / 0.9522 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.8256, allocations: 246.6 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.8258, allocations: 112.7 kB / 0.9525 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.826, allocations: 97.55 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.8261, allocations: 103.6 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.8261, allocations: 15.41 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.8262, allocations: 29.39 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.8263, allocations: 42.2 kB / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.8264, allocations: 104.5 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.8266, allocations: 237.1 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8266, allocations: 5.094 kB / 0.9531 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.8266, allocations: 0 / 0.9531 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.8267, allocations: 0 / 0.9531 GB, free: 6.418 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.000876/0.8275, allocations: 0.5399 MB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.8276, allocations: 9.25 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.8277, allocations: 24.62 kB / 0.9537 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.8284, allocations: 309.4 kB / 0.954 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.8284, allocations: 16.59 kB / 0.954 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.8284, allocations: 22.97 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.8289, allocations: 210.9 kB / 0.9542 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8289, allocations: 0 / 0.9542 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.8289, allocations: 14.39 kB / 0.9543 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.8289, allocations: 3.781 kB / 0.9543 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.8294, allocations: 155.7 kB / 0.9544 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.8303, allocations: 0.6444 MB / 0.955 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.8307, allocations: 155.7 kB / 0.9552 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.831, allocations: 79.36 kB / 0.9553 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.831, allocations: 2.812 kB / 0.9553 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.8316, allocations: 156.6 kB / 0.9554 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.8316, allocations: 0 / 0.9554 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0009698/0.8326, allocations: 252.5 kB / 0.9557 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.8326, allocations: 91.8 kB / 0.9557 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.8328, allocations: 166.9 kB / 0.9559 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.8328, allocations: 32.05 kB / 0.9559 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.8329, allocations: 136.2 kB / 0.9561 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.833, allocations: 45.17 kB / 0.9561 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.8331, allocations: 56.75 kB / 0.9562 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8332, allocations: 326.3 kB / 0.9565 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.8335, allocations: 92.06 kB / 0.9566 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.8338, allocations: 122.2 kB / 0.9567 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.8343, allocations: 213.9 kB / 0.9569 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8343, allocations: 0.9062 kB / 0.9569 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000639/0.835, allocations: 278.3 kB / 0.9571 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.835, allocations: 37.09 kB / 0.9572 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.835, allocations: 5.969 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.8351, allocations: 3.812 kB / 0.9572 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.8353, allocations: 40.09 kB / 0.9572 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8353, allocations: 10.14 kB / 0.9572 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.8356, allocations: 44.89 kB / 0.9573 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.8356, allocations: 20.14 kB / 0.9573 GB, free: 3.02 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.0001372/0.8358, allocations: 130.7 kB / 0.9574 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.8358, allocations: 18.94 kB / 0.9574 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.8359, allocations: 24.88 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8359, allocations: 1.844 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8359, allocations: 5.547 kB / 0.9575 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8359, allocations: 3.938 kB / 0.9575 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.8362, allocations: 265.7 kB / 0.9577 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8362, allocations: 3.984 kB / 0.9577 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.8363, allocations: 30.61 kB / 0.9578 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.8363, allocations: 5.797 kB / 0.9578 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.8364, allocations: 13.75 kB / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.8364, allocations: 0 / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8364, allocations: 1.812 kB / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.8369, allocations: 217.4 kB / 0.958 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.837, allocations: 102.3 kB / 0.9581 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.837, allocations: 5.312 kB / 0.9581 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.8371, allocations: 16.23 kB / 0.9581 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.8372, allocations: 20.22 kB / 0.9581 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.8372, allocations: 8.125 kB / 0.9581 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.472e-05/0.8373, allocations: 124.6 kB / 0.9583 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8373, allocations: 0 / 0.9583 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002868/0.8376, allocations: 44.84 kB / 0.9583 GB, free: 2.168 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.0001799/0.8378, allocations: 111.9 kB / 0.9584 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006602/0.8385, allocations: 257.6 kB / 0.9586 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8385, allocations: 5.312 kB / 0.9587 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.8388, allocations: 90.59 kB / 0.9587 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.8391, allocations: 36.89 kB / 0.9588 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.8398, allocations: 427.8 kB / 0.9592 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.84, allocations: 0.7263 MB / 0.9599 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.8401, allocations: 22.2 kB / 0.9599 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.8401, allocations: 4 kB / 0.9599 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of Templates: time 0.005486/0.8456, allocations: 2.492 MB / 0.9623 GB, free: 15.5 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/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