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.519/2.519, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001316/0.001316, allocations: 183.4 kB / 0.4902 GB, free: 2.242 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.68/1.68, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001002/0.001002, allocations: 99.25 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003482, allocations: 6.875 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2611, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.4532, allocations: 149.9 MB / 1.376 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.4535, allocations: 59.97 kB / 1.376 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002989/0.4565, allocations: 1.096 MB / 1.377 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4565, allocations: 0 / 1.377 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4565, allocations: 0 / 1.377 GB, free: 2.488 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.0004077/0.4569, allocations: 367.2 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.457, allocations: 11.97 kB / 1.377 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.457, allocations: 11.84 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4572, allocations: 174.9 kB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4572, allocations: 4 kB / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.4572, allocations: 4 kB / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.4574, allocations: 57.67 kB / 1.377 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.4574, allocations: 0 / 1.377 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4574, allocations: 4 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4574, allocations: 4 kB / 1.377 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.4576, allocations: 39.97 kB / 1.377 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.458, allocations: 300.8 kB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.4583, allocations: 82.53 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4583, allocations: 0 / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.4584, allocations: 34.62 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4584, allocations: 7.938 kB / 1.378 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002546/0.4586, allocations: 77.67 kB / 1.378 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.4587, allocations: 59.36 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.4588, allocations: 105 kB / 1.378 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4588, allocations: 33.69 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.4589, allocations: 96.14 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.4589, allocations: 7.906 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.4589, allocations: 0 / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.459, allocations: 322.8 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.4591, allocations: 12 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.4591, allocations: 33.7 kB / 1.378 GB, free: 476 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/0.4592, allocations: 27.95 kB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4592, allocations: 0 / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.4594, allocations: 65.59 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.4594, allocations: 11.98 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4594, allocations: 3.938 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4594, allocations: 336 / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.4595, allocations: 7.938 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4595, allocations: 0 / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.4596, allocations: 23.94 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4596, allocations: 0 / 1.379 GB, free: 328 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.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 8.809e-05/0.4597, allocations: 121.8 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4597, allocations: 3.906 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.4598, allocations: 11.91 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4598, allocations: 0 / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4598, allocations: 3.984 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4598, allocations: 7.938 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.46, allocations: 173.6 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.46, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.46, allocations: 7.984 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.46, allocations: 0 / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.46, allocations: 0 / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4601, allocations: 4 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4601, allocations: 0 / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.4602, allocations: 167.5 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.4603, allocations: 81.02 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4603, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.4604, allocations: 11.98 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.4605, allocations: 7.984 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.4605, allocations: 0 / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.719e-05/0.4605, allocations: 95.7 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.212e-06/0.4605, allocations: 4 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002063/0.4607, allocations: 11.94 kB / 1.379 GB, free: 15.53 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 (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 9.529e-05/0.4609, allocations: 95.25 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.461, allocations: 39.97 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.461, allocations: 0 / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.4611, allocations: 20 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.4613, allocations: 22.3 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.000339/0.4617, allocations: 188.5 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.4619, allocations: 0.6926 MB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.462, allocations: 7.984 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.462, allocations: 7.438 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.462, allocations: 0 / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.002486/0.4645, allocations: 0.5839 MB / 1.381 GB, free: 13.82 MB / 0.8855 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