Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 194.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7647, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00198/0.7668, allocations: 0.7712 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.7677, allocations: 0.8351 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.7677, allocations: 4 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.7678, allocations: 0 / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.286e-05/0.7679, allocations: 11.92 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.7681, allocations: 19.98 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.7682, allocations: 67.72 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.7683, allocations: 19.97 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.7684, allocations: 27.92 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.7685, allocations: 27.84 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.7685, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.7685, allocations: 12 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.7686, allocations: 8 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.7686, allocations: 31.84 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.7687, allocations: 61.89 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7687, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7687, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7688, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 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.0004842/0.7692, allocations: 371.2 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.7693, allocations: 8.031 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.7693, allocations: 12.88 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.7696, allocations: 200.1 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7696, allocations: 384 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.7696, allocations: 8.375 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.7698, allocations: 54.23 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.7698, allocations: 192 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.7698, allocations: 7.938 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.7698, allocations: 3.984 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.7699, allocations: 35.92 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.7704, allocations: 300.7 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.7706, allocations: 70.53 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.7707, allocations: 17 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.7707, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.7708, allocations: 38.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.7708, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002536/0.771, allocations: 69.67 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.7711, allocations: 55.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.7712, allocations: 125.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.7712, allocations: 25.7 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.7713, allocations: 96.08 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.7713, allocations: 3.906 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.7713, allocations: 21.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7714, allocations: 314.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.7715, allocations: 15.98 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.7716, allocations: 37.7 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.7717, allocations: 28.78 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7717, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.7718, allocations: 65.59 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7718, allocations: 7.984 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.7719, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7719, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.7719, allocations: 8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.7719, allocations: 4.031 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.772, allocations: 11.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.772, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.642e-05/0.7721, allocations: 117.7 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.7721, allocations: 11.91 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.7722, allocations: 3.906 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7722, allocations: 3.984 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.7722, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7722, allocations: 11.94 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.7724, allocations: 173.6 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7724, allocations: 3.938 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.7724, allocations: 7.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7724, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.7725, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7725, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7725, allocations: 336 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.7726, allocations: 163.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.7727, allocations: 81.02 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.7727, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.153e-05/0.7728, allocations: 7.984 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.7729, allocations: 15.92 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.7729, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.7729, allocations: 95.27 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7729, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002264/0.7732, allocations: 8 kB / 1.021 GB, free: 13.92 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.652e-05/0.7733, allocations: 111.2 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.7734, allocations: 35.97 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7735, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/0.7735, allocations: 15.94 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.7738, allocations: 8.016 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.7742, allocations: 175.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.7744, allocations: 0.6846 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.7745, allocations: 8 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.7745, allocations: 11.44 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7745, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.002864/0.7774, allocations: 0.6337 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches