Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 187.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008138/0.0008137, allocations: 101.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 12.45 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.3392, allocations: 131.8 MB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.3394, allocations: 67.97 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002854/0.3422, allocations: 1.103 MB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3423, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3423, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003381/0.3426, allocations: 371 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.3427, allocations: 12.03 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3427, allocations: 3.906 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3428, allocations: 174.9 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3428, allocations: 8 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3429, allocations: 11.94 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.343, allocations: 57.67 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.343, allocations: 0 / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.343, allocations: 0 / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.343, allocations: 0 / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.3431, allocations: 35.97 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.3435, allocations: 312.7 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3438, allocations: 86.52 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3438, allocations: 4.062 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.3439, allocations: 34.56 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3439, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002365/0.3441, allocations: 85.7 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.3441, allocations: 55.39 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3443, allocations: 120.8 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3443, allocations: 25.7 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3443, allocations: 92.08 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.3444, allocations: 11.91 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.3444, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.3445, allocations: 322.8 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.3445, allocations: 19.98 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.3446, allocations: 25.72 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.3447, allocations: 15.98 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3447, allocations: 3.938 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.3448, allocations: 77.55 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3448, allocations: 8 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3448, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.3449, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.3449, allocations: 4 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.3449, allocations: 0 / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.345, allocations: 15.98 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.345, allocations: 11.95 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.3451, allocations: 109.8 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3451, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.3451, allocations: 15.89 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3452, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3452, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-06/0.3452, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.3453, allocations: 185.5 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3453, allocations: 0 / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.3454, allocations: 11.94 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3454, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3454, allocations: 4 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3454, allocations: 3.938 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3454, allocations: 0 / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.3456, allocations: 160.2 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.3457, allocations: 85.02 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3457, allocations: 3.984 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.3458, allocations: 12 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3458, allocations: 8.359 kB / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3458, allocations: 0 / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.3459, allocations: 91.27 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3459, allocations: 4 kB / 1.032 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002/0.3461, allocations: 4 kB / 1.032 GB, free: 7.883 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.748e-05/0.3462, allocations: 107.2 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.3463, allocations: 43.91 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3463, allocations: 3.938 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.3464, allocations: 19.98 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.3466, allocations: 11.95 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.3469, allocations: 184.6 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3471, allocations: 0.6848 MB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.3471, allocations: 11.98 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.3472, allocations: 11.44 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3472, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of Templates: time 0.002152/0.3493, allocations: 0.5809 MB / 1.034 GB, free: 6.168 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches