Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.0008174, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008609/0.0008608, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.279/1.279, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 443.2 MB / 0.7181 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 12.69 kB / 0.8801 GB, free: 42.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2757, allocations: 155.1 MB / 1.032 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0009246/0.2767, allocations: 436 kB / 1.032 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2778, allocations: 0.8351 MB / 1.033 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.2779, allocations: 4 kB / 1.033 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.2779, allocations: 4 kB / 1.033 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.499e-05/0.278, allocations: 11.86 kB / 1.033 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.2782, allocations: 15.98 kB / 1.033 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2783, allocations: 51.8 kB / 1.033 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2784, allocations: 23.92 kB / 1.033 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2786, allocations: 19.91 kB / 1.033 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.2787, allocations: 27.86 kB / 1.033 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2787, allocations: 4 kB / 1.033 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.2787, allocations: 0 / 1.033 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.2787, allocations: 4 kB / 1.033 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.2788, allocations: 49.56 kB / 1.033 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.418e-05/0.2789, allocations: 52.05 kB / 1.033 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.2789, allocations: 0 / 1.033 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2789, allocations: 7.938 kB / 1.033 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2789, allocations: 0 / 1.033 GB, free: 3.273 MB / 0.7794 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.0004949/0.2794, allocations: 363.3 kB / 1.033 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2794, allocations: 12.03 kB / 1.033 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.2795, allocations: 8.844 kB / 1.033 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.2798, allocations: 196.2 kB / 1.034 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2798, allocations: 384 / 1.034 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2799, allocations: 8.359 kB / 1.034 GB, free: 2.609 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.28, allocations: 62.23 kB / 1.034 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.28, allocations: 192 / 1.034 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2801, allocations: 7.938 kB / 1.034 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2801, allocations: 0 / 1.034 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.2802, allocations: 35.92 kB / 1.034 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.2806, allocations: 304.8 kB / 1.034 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.2809, allocations: 90.53 kB / 1.034 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.281, allocations: 21.31 kB / 1.034 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.281, allocations: 0 / 1.034 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2811, allocations: 30.56 kB / 1.034 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2811, allocations: 0 / 1.034 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002613/0.2813, allocations: 81.58 kB / 1.034 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2814, allocations: 51.41 kB / 1.034 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.2815, allocations: 125.8 kB / 1.034 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2815, allocations: 25.7 kB / 1.034 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.2815, allocations: 92.05 kB / 1.035 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2816, allocations: 11.89 kB / 1.035 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.2816, allocations: 13.72 kB / 1.035 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.2817, allocations: 326.7 kB / 1.035 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.2818, allocations: 19.98 kB / 1.035 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.2818, allocations: 29.7 kB / 1.035 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.2819, allocations: 32.78 kB / 1.035 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2819, allocations: 4.031 kB / 1.035 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001334/0.2821, allocations: 65.67 kB / 1.035 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2821, allocations: 8 kB / 1.035 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2821, allocations: 3.938 kB / 1.035 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.2821, allocations: 0 / 1.035 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.2822, allocations: 11.94 kB / 1.035 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2822, allocations: 0 / 1.035 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.2823, allocations: 27.83 kB / 1.035 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2823, allocations: 0 / 1.035 GB, free: 1.012 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 (shaH.hys.y,$PRE.shaH.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.089e-05/0.2824, allocations: 119.3 kB / 1.035 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.2824, allocations: 0 / 1.035 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.2824, allocations: 11.89 kB / 1.035 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2824, allocations: 0 / 1.035 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2824, allocations: 336 / 1.035 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2824, allocations: 0 / 1.035 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.2826, allocations: 181.6 kB / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2826, allocations: 0 / 1.035 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.2827, allocations: 7.984 kB / 1.035 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2827, allocations: 3.984 kB / 1.035 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.2827, allocations: 0 / 1.035 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2827, allocations: 4 kB / 1.035 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2827, allocations: 0 / 1.035 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.2829, allocations: 171.3 kB / 1.036 GB, free: 456 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.2829, allocations: 81.11 kB / 1.036 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2829, allocations: 0 / 1.036 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.283, allocations: 11.98 kB / 1.036 GB, free: 344 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.2831, allocations: 11.98 kB / 1.036 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.2831, allocations: 0 / 1.036 GB, free: 332 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.2831, allocations: 91.27 kB / 1.036 GB, free: 240 kB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2831, allocations: 0 / 1.036 GB, free: 240 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002129/0.2834, allocations: 15.91 kB / 1.036 GB, free: 224 kB / 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.067e-05/0.2835, allocations: 99.25 kB / 1.036 GB, free: 112 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.2836, allocations: 43.91 kB / 1.036 GB, free: 68 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2836, allocations: 0 / 1.036 GB, free: 68 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.558e-05/0.2837, allocations: 19.94 kB / 1.036 GB, free: 48 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.284, allocations: 15.92 kB / 1.036 GB, free: 32 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.2843, allocations: 202.5 kB / 1.036 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.2845, allocations: 0.6848 MB / 1.037 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.2846, allocations: 15.44 kB / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.2846, allocations: 0 / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of Templates: time 0.001936/0.2865, allocations: 0.8321 MB / 1.038 GB, free: 14.24 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches