Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001105/0.001105, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0009001/0.0009002, allocations: 91.95 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.594e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3437, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.492, allocations: 149.8 MB / 1.365 GB, free: 4.168 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.492, allocations: 64.3 kB / 1.365 GB, free: 4.133 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003138/1.495, allocations: 1.098 MB / 1.366 GB, free: 3.156 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.894e-06/1.495, allocations: 0 / 1.366 GB, free: 3.156 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.429e-05/1.495, allocations: 4 kB / 1.366 GB, free: 3.152 MB / 0.823 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.000404/1.496, allocations: 350.6 kB / 1.367 GB, free: 2.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/1.496, allocations: 16.03 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/1.496, allocations: 7.906 kB / 1.367 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/1.496, allocations: 182.5 kB / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/1.496, allocations: 0 / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/1.496, allocations: 4 kB / 1.367 GB, free: 2.527 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/1.496, allocations: 52.25 kB / 1.367 GB, free: 2.48 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.496, allocations: 0 / 1.367 GB, free: 2.48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.496, allocations: 0 / 1.367 GB, free: 2.48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.496, allocations: 0 / 1.367 GB, free: 2.48 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/1.496, allocations: 22.92 kB / 1.367 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/1.497, allocations: 308.8 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/1.497, allocations: 81.03 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/1.497, allocations: 11.73 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/1.497, allocations: 0 / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/1.497, allocations: 34.56 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/1.497, allocations: 0.875 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002082/1.497, allocations: 64.95 kB / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/1.498, allocations: 51.41 kB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.498, allocations: 107.5 kB / 1.367 GB, free: 1.773 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/1.498, allocations: 29.69 kB / 1.367 GB, free: 1.738 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/1.498, allocations: 93.11 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/1.498, allocations: 11.88 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.498, allocations: 3.938 kB / 1.368 GB, free: 1.637 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.498, allocations: 322.6 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.073e-05/1.498, allocations: 11.31 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/1.498, allocations: 25.03 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/1.498, allocations: 10.69 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.498, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.919e-05/1.498, allocations: 56.44 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.498, allocations: 5.719 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.498, allocations: 0 / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.498, allocations: 4 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/1.498, allocations: 7.984 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.498, allocations: 7.984 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/1.498, allocations: 19.3 kB / 1.368 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.498, allocations: 4 kB / 1.368 GB, free: 1.18 MB / 0.823 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 8.622e-05/1.499, allocations: 101 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/1.499, allocations: 12.03 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/1.499, allocations: 7.344 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.499, allocations: 3.984 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.499, allocations: 4 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.499, allocations: 6.391 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/1.499, allocations: 176.5 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.499, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/1.499, allocations: 7.984 kB / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.499, allocations: 4 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/1.499, allocations: 0 / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.499, allocations: 3.938 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.499, allocations: 0 / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/1.499, allocations: 157.6 kB / 1.368 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/1.499, allocations: 77.11 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/1.499, allocations: 0 / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/1.499, allocations: 11.98 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.499, allocations: 7.984 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/1.499, allocations: 0 / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.632e-05/1.5, allocations: 97.64 kB / 1.369 GB, free: 464 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.5, allocations: 4 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001933/1.5, allocations: 8 kB / 1.369 GB, free: 452 kB / 0.823 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 0.0001565/1.5, allocations: 98.69 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001321/1.5, allocations: 23 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.5, allocations: 4 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/1.5, allocations: 15.61 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/1.5, allocations: 12.59 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/1.501, allocations: 92.36 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/1.501, allocations: 0.6887 MB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.023e-05/1.501, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/1.501, allocations: 15.42 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.501, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.003239/1.504, allocations: 0.596 MB / 1.37 GB, free: 14.88 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches