Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.484/2.484, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.0009902/0.0009901, allocations: 188 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.636/1.636, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0009395/0.0009399, allocations: 92 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.442e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3631, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.498, allocations: 149.8 MB / 1.365 GB, free: 4.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/1.498, allocations: 67.89 kB / 1.365 GB, free: 4.125 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00313/1.501, allocations: 1.098 MB / 1.366 GB, free: 3.148 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.933e-06/1.501, allocations: 4 kB / 1.366 GB, free: 3.145 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.502, allocations: 4 kB / 1.366 GB, free: 3.141 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.0004282/1.502, allocations: 342.5 kB / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.592e-05/1.502, allocations: 12.03 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/1.502, allocations: 3.906 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/1.502, allocations: 186.3 kB / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/1.502, allocations: 0 / 1.367 GB, free: 2.531 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/1.502, allocations: 11.98 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/1.503, allocations: 55.92 kB / 1.367 GB, free: 2.469 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.503, allocations: 0 / 1.367 GB, free: 2.469 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.503, allocations: 0 / 1.367 GB, free: 2.469 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.503, allocations: 0 / 1.367 GB, free: 2.469 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/1.503, allocations: 18.38 kB / 1.367 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/1.503, allocations: 308.2 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/1.503, allocations: 85.09 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/1.503, allocations: 12.8 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.504, allocations: 0 / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/1.504, allocations: 34.56 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.504, allocations: 1.969 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001783/1.504, allocations: 60.39 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/1.504, allocations: 51.41 kB / 1.367 GB, free: 1.871 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/1.504, allocations: 114.3 kB / 1.367 GB, free: 1.762 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/1.504, allocations: 29.7 kB / 1.367 GB, free: 1.727 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/1.504, allocations: 90.52 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/1.504, allocations: 11.8 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/1.504, allocations: 3.938 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.504, allocations: 318.2 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/1.504, allocations: 7.438 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/1.504, allocations: 24.34 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/1.504, allocations: 11.36 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.504, allocations: 8.031 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.176e-05/1.504, allocations: 59.44 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.504, allocations: 4.875 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.504, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.504, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/1.505, allocations: 8 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.505, allocations: 3.953 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/1.505, allocations: 15.92 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.505, allocations: 4 kB / 1.368 GB, free: 1.176 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.shaT.hys.y,shaT.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.68e-05/1.505, allocations: 105 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/1.505, allocations: 11.84 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/1.505, allocations: 11.45 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.505, allocations: 3.312 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.505, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.505, allocations: 4.141 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/1.505, allocations: 172 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.505, allocations: 3.984 kB / 1.368 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/1.505, allocations: 8 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.505, allocations: 3.984 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.505, allocations: 4 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.505, allocations: 3.938 kB / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.505, allocations: 0 / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/1.505, allocations: 153.8 kB / 1.368 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/1.505, allocations: 81.09 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/1.505, allocations: 4 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/1.505, allocations: 8 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/1.505, allocations: 11.23 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/1.506, allocations: 3.984 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.9e-05/1.506, allocations: 91.22 kB / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.506, allocations: 0 / 1.369 GB, free: 456 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002063/1.506, allocations: 8 kB / 1.369 GB, free: 448 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0001151/1.506, allocations: 98.5 kB / 1.369 GB, free: 344 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001375/1.506, allocations: 30.48 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.506, allocations: 0 / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/1.506, allocations: 14.94 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/1.506, allocations: 12.44 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/1.507, allocations: 88.05 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/1.507, allocations: 0.6887 MB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.649e-05/1.507, allocations: 7.984 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/1.507, allocations: 11.44 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.507, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.002698/1.51, allocations: 0.5925 MB / 1.37 GB, free: 14.88 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches