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.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.00104/0.00104, allocations: 184.8 kB / 321.3 MB, free: 14.65 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.552/1.552, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008255/0.0008255, allocations: 98.52 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.688e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7576/0.9831, allocations: 131.7 MB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.9834, allocations: 73.19 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003384/0.9869, allocations: 1.107 MB / 1.022 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9869, allocations: 0 / 1.022 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.9869, allocations: 0 / 1.022 GB, free: 2.027 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.0004657/0.9874, allocations: 349.6 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.9875, allocations: 8.031 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.9875, allocations: 9.281 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.9878, allocations: 182.8 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.9878, allocations: 3.5 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.9878, allocations: 4 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.988, allocations: 55.31 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.988, allocations: 4 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.988, allocations: 0 / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.988, allocations: 4 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.9881, allocations: 19.19 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.9887, allocations: 301 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.989, allocations: 81.78 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.9891, allocations: 18.89 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.9891, allocations: 2.734 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.9891, allocations: 38.5 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.9891, allocations: 0 / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002079/0.9894, allocations: 48.75 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.9894, allocations: 58.8 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.9896, allocations: 118.8 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.9896, allocations: 28.77 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.9897, allocations: 87.33 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.9897, allocations: 19.7 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.9897, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.9899, allocations: 313.5 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.9899, allocations: 11.25 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-05/0.99, allocations: 29.25 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.352e-05/0.99, allocations: 11.39 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.99, allocations: 0 / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.662e-05/0.9901, allocations: 55.59 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.9902, allocations: 8 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.9902, allocations: 4.031 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9902, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.9903, allocations: 8.5 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.9903, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.9904, allocations: 26.5 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.9904, allocations: 4 kB / 1.023 GB, free: 52 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.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 0.0001121/0.9905, allocations: 105 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.9906, allocations: 9.344 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.9906, allocations: 11.2 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.9906, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.9906, allocations: 4 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9906, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.9909, allocations: 180.4 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.9909, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.9909, allocations: 8 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9909, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.991, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.991, allocations: 4 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.991, allocations: 4 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.9911, allocations: 158 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.9912, allocations: 81.02 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.9912, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.9913, allocations: 7.938 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.9914, allocations: 11.98 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.9914, allocations: 3.984 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.9915, allocations: 95.59 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9915, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002129/0.9917, allocations: 8 kB / 1.024 GB, free: 15.31 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 (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.0001148/0.9918, allocations: 95.25 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.9919, allocations: 28.86 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9919, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/0.992, allocations: 22 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.9922, allocations: 7.953 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.9924, allocations: 84.16 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.9927, allocations: 0.6887 MB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.9928, allocations: 4.281 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.9928, allocations: 7.438 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/0.9928, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.00263/0.9955, allocations: 0.6009 MB / 1.026 GB, free: 13.75 MB / 0.6511 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