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.335/2.335, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001395/0.001395, allocations: 191.2 kB / 0.4902 GB, free: 2.234 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.666/1.666, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.001104/0.001104, allocations: 104 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 10.34 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3781, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.5863, allocations: 149.9 MB / 1.376 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5866, allocations: 63.97 kB / 1.376 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003358/0.59, allocations: 1.088 MB / 1.377 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5901, allocations: 0 / 1.377 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.5901, allocations: 4 kB / 1.377 GB, free: 2.484 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.0004879/0.5906, allocations: 368 kB / 1.377 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.5906, allocations: 8.031 kB / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.5907, allocations: 11.91 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5909, allocations: 174.9 kB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.5909, allocations: 0 / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.5909, allocations: 4 kB / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.5911, allocations: 57.67 kB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.5911, allocations: 0 / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5911, allocations: 8 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5911, allocations: 0 / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.5913, allocations: 39.97 kB / 1.377 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.5918, allocations: 308.8 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.5921, allocations: 82.53 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.5921, allocations: 0 / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.5922, allocations: 30.56 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5922, allocations: 0 / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0003081/0.5925, allocations: 85.66 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.5926, allocations: 55.36 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5927, allocations: 121 kB / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.5927, allocations: 29.7 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.5928, allocations: 92.08 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.5928, allocations: 3.906 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.5928, allocations: 0 / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5929, allocations: 318.8 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.593, allocations: 16 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.5931, allocations: 37.7 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-05/0.5932, allocations: 15.92 kB / 1.378 GB, free: 456 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5932, allocations: 0 / 1.378 GB, free: 456 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001625/0.5933, allocations: 77.58 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5934, allocations: 11.88 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5934, allocations: 0 / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5934, allocations: 4.031 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.5935, allocations: 8 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5935, allocations: 0 / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.5935, allocations: 15.94 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.5936, allocations: 0 / 1.379 GB, free: 332 kB / 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 0.0001081/0.5937, allocations: 116.5 kB / 1.379 GB, free: 208 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.5937, allocations: 7.906 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.5937, allocations: 11.91 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5938, allocations: 3.984 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.5938, allocations: 4 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5938, allocations: 0 / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.594, allocations: 169.6 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.594, allocations: 3.938 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.594, allocations: 11.98 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5941, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.5941, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5941, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5941, allocations: 4 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.5943, allocations: 163.5 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.5944, allocations: 81.02 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.5944, allocations: 8 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.5945, allocations: 11.98 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.5945, allocations: 7.984 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.5946, allocations: 0 / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.5946, allocations: 99.27 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5946, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002162/0.5949, allocations: 8 kB / 1.379 GB, free: 15.54 MB / 0.8855 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.0001346/0.595, allocations: 99.19 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.5952, allocations: 43.97 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5952, allocations: 0 / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.5953, allocations: 20.45 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.5955, allocations: 15.89 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.596, allocations: 189.4 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.5963, allocations: 0.6887 MB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.291e-05/0.5964, allocations: 8.062 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.5964, allocations: 11.44 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/0.5964, allocations: 0 / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.00277/0.5992, allocations: 0.5832 MB / 1.381 GB, free: 13.82 MB / 0.8855 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