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_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 193.7 kB / 326.5 MB, free: 2.246 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.703/1.703, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0009284/0.000928, allocations: 92.97 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004969, allocations: 9.062 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2524, allocations: 106.3 MB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4341, allocations: 131.8 MB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4344, allocations: 67.97 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003062/0.4375, allocations: 1.107 MB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4375, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.4375, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 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.0004041/0.4379, allocations: 367.1 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.438, allocations: 16.03 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.438, allocations: 7.906 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.4382, allocations: 171 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.4382, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.4382, allocations: 8 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.4384, allocations: 69.59 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4384, allocations: 0 / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4384, allocations: 0 / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4384, allocations: 0 / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.4386, allocations: 39.97 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.439, allocations: 300.7 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.4393, allocations: 90.53 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.4394, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.4394, allocations: 34.56 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4394, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000275/0.4397, allocations: 77.77 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.4397, allocations: 55.34 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4399, allocations: 120.8 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.4399, allocations: 33.69 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.44, allocations: 92.08 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.44, allocations: 11.91 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.44, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4401, allocations: 314.8 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.658e-05/0.4402, allocations: 16 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.4403, allocations: 33.7 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.4403, allocations: 20.02 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4404, allocations: 3.938 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.4405, allocations: 69.59 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4405, allocations: 7.984 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4405, allocations: 336 / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4406, allocations: 0 / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.4406, allocations: 11.88 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4406, allocations: 8 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.4407, allocations: 11.98 kB / 1.032 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4407, allocations: 3.953 kB / 1.032 GB, free: 9.211 MB / 0.6823 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.shaT.hys.y,shaT.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.315e-05/0.4408, allocations: 117.8 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4409, allocations: 4 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.4409, allocations: 7.906 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4409, allocations: 0 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4409, allocations: 7.984 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4409, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.4411, allocations: 181.5 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4411, allocations: 0 / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/0.4412, allocations: 7.984 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4412, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4412, allocations: 4 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4412, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4412, allocations: 0 / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4414, allocations: 168.2 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.4414, allocations: 81.02 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.4415, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.4416, allocations: 11.98 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.4416, allocations: 11.98 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.4416, allocations: 0 / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.223e-05/0.4417, allocations: 103.6 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4417, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002024/0.4419, allocations: 8 kB / 1.032 GB, free: 8.414 MB / 0.6823 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0001069/0.442, allocations: 91.25 kB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.4422, allocations: 43.97 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4422, allocations: 4 kB / 1.033 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.4423, allocations: 23.92 kB / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.4425, allocations: 10.19 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.4429, allocations: 184.6 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.4431, allocations: 0.6926 MB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.4432, allocations: 3.984 kB / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.4432, allocations: 11.44 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of SimCode: time 4.51e-07/0.4432, allocations: 3.938 kB / 1.034 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of Templates: time 0.002496/0.4457, allocations: 0.5934 MB / 1.034 GB, free: 6.695 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches