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.442/1.442, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.001119/0.001119, allocations: 182.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009397/0.0009396, allocations: 86.55 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.652e-05/5.654e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2215, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/0.9873, allocations: 131.7 MB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9876, allocations: 67.84 kB / 1.02 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003157/0.9908, allocations: 1.114 MB / 1.022 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9908, allocations: 0 / 1.022 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.9908, allocations: 0 / 1.022 GB, free: 2.004 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.0003714/0.9912, allocations: 350.4 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.9913, allocations: 8.031 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.9913, allocations: 7.906 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.9915, allocations: 178.9 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.9915, allocations: 3.312 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.9915, allocations: 4 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.9917, allocations: 55.88 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9917, allocations: 0 / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.9917, allocations: 0 / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9917, allocations: 4 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.022e-05/0.9918, allocations: 22.5 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.9923, allocations: 304.1 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.9925, allocations: 85.58 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.9926, allocations: 19.33 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.9926, allocations: 6.734 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.9927, allocations: 34.56 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.9927, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001769/0.9928, allocations: 49.62 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.9929, allocations: 59.3 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.993, allocations: 116.7 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.993, allocations: 25.7 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.9931, allocations: 95.75 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.9931, allocations: 3.906 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.9931, allocations: 4 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9933, allocations: 318.7 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.9933, allocations: 11.11 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.9934, allocations: 27.72 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.9934, allocations: 7.188 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9934, allocations: 0 / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.945e-05/0.9935, allocations: 57.47 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9935, allocations: 9.719 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.9935, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.9936, allocations: 4.031 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.9936, allocations: 11.92 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.9936, allocations: 0 / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.9937, allocations: 23.77 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.9937, allocations: 4 kB / 1.023 GB, free: 28 kB / 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 8.713e-05/0.9938, allocations: 101 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.9939, allocations: 11.89 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.9939, allocations: 11.97 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.9939, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9939, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9939, allocations: 8 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.9941, allocations: 173.3 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.9941, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.9942, allocations: 11.88 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9942, allocations: 0 / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.9942, allocations: 0 / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9942, allocations: 3.984 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.9942, allocations: 4 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.9943, allocations: 151.2 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.9944, allocations: 81.02 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9944, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.9945, allocations: 12.16 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.9946, allocations: 7.984 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.9946, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.9946, allocations: 100.6 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9946, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001995/0.9948, allocations: 8 kB / 1.024 GB, free: 15.29 MB / 0.6511 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.0001126/0.995, allocations: 106.8 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.9951, allocations: 24.94 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9951, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.9951, allocations: 15.69 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.9953, allocations: 7.953 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.9955, allocations: 87.72 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.9958, allocations: 0.6921 MB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.9959, allocations: 4 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.9959, allocations: 7.438 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of SimCode: time 4.3e-07/0.9959, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of Templates: time 0.002446/0.9984, allocations: 0.5925 MB / 1.026 GB, free: 13.73 MB / 0.6511 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