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.632/1.632, allocations: 249.5 MB / 257 MB, free: 6.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001026, allocations: 180.8 kB / 316.3 MB, free: 3.242 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.725/1.725, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009827/0.0009827, allocations: 97.92 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.734e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2528, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7935/1.046, allocations: 131.9 MB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/1.047, allocations: 65.84 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002888/1.05, allocations: 1.105 MB / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.05, allocations: 0 / 1.015 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.05, allocations: 0 / 1.015 GB, free: 4.762 MB / 0.6355 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.0003466/1.05, allocations: 346.7 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.05, allocations: 12.03 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/1.05, allocations: 15.89 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.05, allocations: 174.9 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/1.05, allocations: 0.875 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/1.05, allocations: 4 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.127e-05/1.05, allocations: 22.56 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.866e-05/1.05, allocations: 45.17 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.05, allocations: 3.938 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/1.05, allocations: 3.938 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/1.05, allocations: 7.984 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/1.051, allocations: 277 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/1.051, allocations: 76.34 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/1.051, allocations: 11.98 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.051, allocations: 10.3 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/1.051, allocations: 37.06 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.051, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001998/1.051, allocations: 49.31 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/1.051, allocations: 55.41 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.615e-05/1.052, allocations: 108.2 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.052, allocations: 29.7 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/1.052, allocations: 87.08 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/1.052, allocations: 11.89 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.052, allocations: 0 / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.052, allocations: 317.6 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/1.052, allocations: 10.94 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/1.052, allocations: 29.2 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/1.052, allocations: 6.75 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.052, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.499e-05/1.052, allocations: 64.03 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/1.052, allocations: 4 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/1.052, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.052, allocations: 0 / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/1.052, allocations: 7.188 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.052, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/1.052, allocations: 27.89 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/1.052, allocations: 0 / 1.017 GB, free: 2.84 MB / 0.6355 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 () * 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.695e-05/1.052, allocations: 104.9 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/1.052, allocations: 7.906 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/1.052, allocations: 11.45 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.052, allocations: 4 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/1.052, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/1.052, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/1.053, allocations: 156.4 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.053, allocations: 0 / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/1.053, allocations: 7.984 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.053, allocations: 4 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/1.053, allocations: 7.562 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/1.053, allocations: 0 / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.053, allocations: 0 / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/1.053, allocations: 148.4 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/1.053, allocations: 93.25 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/1.053, allocations: 3.984 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/1.053, allocations: 8 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/1.053, allocations: 7.969 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/1.053, allocations: 4 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.752e-05/1.053, allocations: 94.78 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.81e-07/1.053, allocations: 0 / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001995/1.053, allocations: 8 kB / 1.018 GB, free: 2.125 MB / 0.6355 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) * 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 9.886e-05/1.053, allocations: 99.25 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.787e-05/1.053, allocations: 26.12 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/1.053, allocations: 0 / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/1.053, allocations: 15.11 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/1.054, allocations: 6.188 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/1.054, allocations: 87.02 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/1.054, allocations: 0.6924 MB / 1.019 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.792e-05/1.054, allocations: 7.984 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/1.054, allocations: 7.438 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.054, allocations: 0 / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of Templates: time 0.002435/1.057, allocations: 0.5468 MB / 1.019 GB, free: 0.6172 MB / 0.6355 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