Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.522/2.522, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 184.2 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.723/1.723, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009713, allocations: 98.36 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003827, allocations: 11.16 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3112, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.5009, allocations: 149.1 MB / 1.368 GB, free: 13 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5012, allocations: 75.89 kB / 1.369 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002905/0.5041, allocations: 1.091 MB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5041, allocations: 0 / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.5041, allocations: 4 kB / 1.37 GB, free: 11.83 MB / 0.8698 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.0004263/0.5046, allocations: 363.1 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5046, allocations: 12.03 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.5047, allocations: 0 / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.5048, allocations: 190.8 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5049, allocations: 4 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.5049, allocations: 4 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.5051, allocations: 61.67 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.5051, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5051, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.5051, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.5052, allocations: 31.98 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.5057, allocations: 308.7 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.506, allocations: 86.52 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.506, allocations: 4.062 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.506, allocations: 30.56 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.506, allocations: 3.938 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002653/0.5063, allocations: 85.7 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.5064, allocations: 55.36 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.5064, allocations: 109 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.5065, allocations: 25.7 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.5065, allocations: 99.97 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.5066, allocations: 11.91 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.5066, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5067, allocations: 318.8 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.308e-05/0.5068, allocations: 20 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.5069, allocations: 29.7 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.126e-05/0.5069, allocations: 16.27 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5069, allocations: 0 / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001477/0.5071, allocations: 77.64 kB / 1.371 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5071, allocations: 4 kB / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5071, allocations: 0 / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5071, allocations: 0 / 1.371 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.5072, allocations: 7.984 kB / 1.371 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5072, allocations: 4 kB / 1.371 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.5073, allocations: 19.84 kB / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.5073, allocations: 4 kB / 1.371 GB, free: 9.668 MB / 0.8698 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 9.542e-05/0.5074, allocations: 115.6 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.5074, allocations: 4 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.5075, allocations: 7.906 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5075, allocations: 0 / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5075, allocations: 0 / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5075, allocations: 0 / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.5077, allocations: 185.7 kB / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.5077, allocations: 0 / 1.372 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.5077, allocations: 11.98 kB / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5077, allocations: 0 / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5078, allocations: 8 kB / 1.372 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5078, allocations: 3.938 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5078, allocations: 0 / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.5079, allocations: 163.4 kB / 1.372 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.508, allocations: 77.11 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.508, allocations: 4 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.5081, allocations: 15.98 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.5082, allocations: 7.984 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.5082, allocations: 0 / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.5082, allocations: 99.2 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5082, allocations: 0 / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000203/0.5085, allocations: 15.78 kB / 1.372 GB, free: 8.867 MB / 0.8698 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 0.000136/0.5086, allocations: 107 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.5088, allocations: 43.91 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5088, allocations: 0 / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/0.5088, allocations: 16 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.5091, allocations: 8.734 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.5095, allocations: 188.6 kB / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.5098, allocations: 0.6887 MB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.296e-05/0.5098, allocations: 0 / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.5099, allocations: 15.44 kB / 1.373 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5099, allocations: 0 / 1.373 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of Templates: time 0.002991/0.5129, allocations: 0.5828 MB / 1.374 GB, free: 7.16 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches