Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 92.42 kB / 19.69 MB, free: 2.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 210.4 kB / 23 MB, free: 4.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.264/3.264, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.28 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3107, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides): time 0.002568/0.3133, allocations: 1.069 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.315, allocations: 1.275 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3151, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.715e-05/0.3152, allocations: 19.73 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3153, allocations: 31.67 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.3159, allocations: 194.3 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.3162, allocations: 263.9 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.3164, allocations: 88.28 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.3165, allocations: 111.6 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3167, allocations: 123.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.3167, allocations: 28 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.3168, allocations: 39.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.3169, allocations: 47.84 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.317, allocations: 95.62 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.3174, allocations: 330.6 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3174, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3174, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3174, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 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.0009648/0.3184, allocations: 479 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3184, allocations: 12.02 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.3185, allocations: 28.75 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.3193, allocations: 243.6 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.3193, allocations: 16.36 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.3193, allocations: 24.38 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.3199, allocations: 216.2 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3199, allocations: 4 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3199, allocations: 8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3199, allocations: 7.984 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.3205, allocations: 164.3 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.3213, allocations: 0.5117 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.3218, allocations: 161 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.322, allocations: 73.75 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.322, allocations: 7.984 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.3225, allocations: 154.7 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.3225, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0008929/0.3234, allocations: 257.4 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.3234, allocations: 89.09 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.3236, allocations: 166.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.3237, allocations: 33.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3238, allocations: 132.5 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.3238, allocations: 55.62 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3239, allocations: 57.64 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3241, allocations: 330.8 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.3244, allocations: 109.6 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.3247, allocations: 157.1 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.3253, allocations: 218.6 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3253, allocations: 0 / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007515/0.326, allocations: 317.2 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.3261, allocations: 37.69 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3261, allocations: 0 / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3261, allocations: 4 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3263, allocations: 35.97 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3264, allocations: 11.88 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.3266, allocations: 47.97 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.3267, allocations: 15.98 kB / 1.335 GB, free: 8.867 MB / 1.029 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.0001449/0.3268, allocations: 132.7 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3268, allocations: 15.91 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.3269, allocations: 25.39 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3269, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3269, allocations: 7.938 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3269, allocations: 4 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.3271, allocations: 185.1 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3271, allocations: 0 / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.3273, allocations: 36.22 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3273, allocations: 0 / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3273, allocations: 4 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3273, allocations: 8 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3273, allocations: 0 / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.3279, allocations: 227.5 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.3279, allocations: 19.91 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.328, allocations: 4 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3281, allocations: 11.98 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.3282, allocations: 35.83 kB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3282, allocations: 8 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001041/0.3283, allocations: 124.2 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3283, allocations: 4 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000275/0.3286, allocations: 47.84 kB / 1.336 GB, free: 7.926 MB / 1.029 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.0001847/0.3288, allocations: 119.2 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006856/0.3295, allocations: 272.9 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3295, allocations: 0 / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.3297, allocations: 91.81 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.33, allocations: 23.98 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.3307, allocations: 336.9 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.3308, allocations: 125 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.3309, allocations: 29.47 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.331, allocations: 19.44 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.331, allocations: 0 / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of Templates: time 0.006763/0.3378, allocations: 2.799 MB / 1.339 GB, free: 4.141 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.69208076299401]