Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.374/2.374, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001666/0.001666, allocations: 182.1 kB / 498.1 MB, free: 5.754 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.694/1.694, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009461/0.0009459, allocations: 90.28 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004549, allocations: 10.28 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2964, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.4945, allocations: 149.1 MB / 1.368 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4948, allocations: 71.89 kB / 1.369 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003127/0.4979, allocations: 1.091 MB / 1.37 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.498, allocations: 0 / 1.37 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.498, allocations: 0 / 1.37 GB, free: 11.98 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.0005452/0.4985, allocations: 375.1 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4986, allocations: 8.031 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.4987, allocations: 4 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.4988, allocations: 178.9 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4989, allocations: 4 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4989, allocations: 3.938 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.4991, allocations: 61.67 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4991, allocations: 3.938 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4991, allocations: 4 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4991, allocations: 4 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.4992, allocations: 35.97 kB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.4998, allocations: 304.7 kB / 1.371 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.5001, allocations: 86.52 kB / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.5002, allocations: 0 / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5002, allocations: 42.62 kB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.5002, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002858/0.5005, allocations: 81.69 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.5006, allocations: 59.36 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.5007, allocations: 108.9 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5007, allocations: 33.7 kB / 1.371 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.5008, allocations: 95.98 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.5008, allocations: 7.891 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.5008, allocations: 0 / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5009, allocations: 318.8 kB / 1.371 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.501, allocations: 15.98 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.5011, allocations: 37.7 kB / 1.371 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/0.5011, allocations: 16 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.5011, allocations: 0 / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001537/0.5013, allocations: 69.61 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5013, allocations: 8.938 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.5013, allocations: 0 / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5014, allocations: 0 / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.5014, allocations: 8.031 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5014, allocations: 0 / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.5015, allocations: 19.84 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5015, allocations: 4 kB / 1.371 GB, free: 9.805 MB / 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 9.11e-05/0.5016, allocations: 113.8 kB / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.5017, allocations: 0 / 1.372 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.5017, allocations: 15.89 kB / 1.372 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5017, allocations: 4 kB / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5017, allocations: 0 / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5017, allocations: 0 / 1.372 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.502, allocations: 181.7 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.502, allocations: 0 / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.502, allocations: 4 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.502, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.5021, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5021, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5021, allocations: 4 kB / 1.372 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.5023, allocations: 175.3 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.5024, allocations: 85.47 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.5024, allocations: 0 / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.5025, allocations: 8 kB / 1.372 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.5026, allocations: 7.984 kB / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.5026, allocations: 4 kB / 1.372 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.071e-05/0.5027, allocations: 99.2 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5027, allocations: 0 / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002558/0.503, allocations: 15.84 kB / 1.372 GB, free: 9.004 MB / 0.8698 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.0001941/0.5032, allocations: 103 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.5035, allocations: 43.91 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5035, allocations: 4 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.5036, allocations: 19.98 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.5039, allocations: 11.95 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.5045, allocations: 176.7 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.505, allocations: 0.6887 MB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.514e-05/0.5051, allocations: 7.984 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.5051, allocations: 7.438 kB / 1.373 GB, free: 7.879 MB / 0.8698 GB Notification: Performance of SimCode: time 3.096e-06/0.5051, allocations: 4 kB / 1.373 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of Templates: time 0.003472/0.5086, allocations: 0.5812 MB / 1.374 GB, free: 7.297 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches