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.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.996 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.001019/0.001019, allocations: 196.8 kB / 316.3 MB, free: 3.215 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.715/1.715, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0009583/0.0009583, allocations: 86.58 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.67e-05/1.682e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8297/1.075, allocations: 132 MB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.075, allocations: 76.2 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003031/1.078, allocations: 1.104 MB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/1.078, allocations: 0 / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.078, allocations: 0 / 1.015 GB, free: 4.848 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.0003817/1.078, allocations: 345.5 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.078, allocations: 8.031 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/1.079, allocations: 7.906 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/1.079, allocations: 186.4 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.079, allocations: 4 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/1.079, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.399e-05/1.079, allocations: 18.88 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/1.079, allocations: 52.38 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.079, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/1.079, allocations: 0.75 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.079, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/1.079, allocations: 280.3 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/1.08, allocations: 79.91 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/1.08, allocations: 15.41 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/1.08, allocations: 6.672 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.08, allocations: 33.12 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.08, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001889/1.08, allocations: 54.75 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/1.08, allocations: 55.41 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.08, allocations: 114.3 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.08, allocations: 25.7 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/1.08, allocations: 91.2 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/1.08, allocations: 3.906 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/1.08, allocations: 0 / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.08, allocations: 325.6 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/1.081, allocations: 7.812 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/1.081, allocations: 27.28 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/1.081, allocations: 14.92 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.081, allocations: 0 / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.459e-05/1.081, allocations: 52.3 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.081, allocations: 10.02 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/1.081, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.081, allocations: 4 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/1.081, allocations: 4 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.081, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/1.081, allocations: 23.89 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/1.081, allocations: 0 / 1.017 GB, free: 2.93 MB / 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 8.765e-05/1.081, allocations: 112.1 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/1.081, allocations: 3.906 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/1.081, allocations: 8.344 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/1.081, allocations: 0 / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.081, allocations: 0 / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.081, allocations: 3.984 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/1.081, allocations: 155.4 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.081, allocations: 4.875 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/1.081, allocations: 7.938 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.081, allocations: 3.984 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/1.081, allocations: 0 / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/1.081, allocations: 0 / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.081, allocations: 3 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/1.082, allocations: 151.4 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/1.082, allocations: 85.02 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/1.082, allocations: 4 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-05/1.082, allocations: 7.984 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/1.082, allocations: 7.984 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/1.082, allocations: 0 / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.414e-05/1.082, allocations: 93.33 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.082, allocations: 4 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000206/1.082, allocations: 4 kB / 1.018 GB, free: 2.23 MB / 0.6355 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.0001214/1.082, allocations: 103.4 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001098/1.082, allocations: 30 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/1.082, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/1.082, allocations: 11.41 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/1.083, allocations: 7.047 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/1.083, allocations: 90.67 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/1.083, allocations: 0.6963 MB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.684e-05/1.083, allocations: 0 / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/1.083, allocations: 15.42 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.083, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of Templates: time 0.002456/1.086, allocations: 0.5476 MB / 1.019 GB, free: 0.7109 MB / 0.6355 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