Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 78.95 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 158.8 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.735/2.735, allocations: 359.1 MB / 0.6044 GB, free: 14.8 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.89 kB / 0.9515 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.375, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002226/0.3773, allocations: 0.6856 MB / 1.118 GB, free: 1.812 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3785, allocations: 0.8821 MB / 1.119 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.3786, allocations: 0 / 1.119 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.3786, allocations: 3.938 kB / 1.119 GB, free: 0.9141 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.3787, allocations: 11.88 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.379, allocations: 23.97 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3791, allocations: 55.8 kB / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.3792, allocations: 27.89 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3794, allocations: 35.86 kB / 1.119 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.3795, allocations: 23.86 kB / 1.119 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3795, allocations: 8 kB / 1.119 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.3795, allocations: 8 kB / 1.119 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.3796, allocations: 15.97 kB / 1.119 GB, free: 0.707 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.3796, allocations: 19.88 kB / 1.119 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3798, allocations: 75.69 kB / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3798, allocations: 0 / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3798, allocations: 0 / 1.119 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3798, allocations: 0 / 1.119 GB, free: 0.6133 MB / 1.061 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.0005647/0.3803, allocations: 290.2 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3804, allocations: 11.97 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.3805, allocations: 24.88 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.3808, allocations: 134.4 kB / 1.12 GB, free: 108 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3808, allocations: 4.312 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3808, allocations: 4.375 kB / 1.12 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.381, allocations: 58.23 kB / 1.12 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.381, allocations: 192 / 1.12 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.381, allocations: 7.938 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.381, allocations: 4 kB / 1.12 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.3811, allocations: 24.09 kB / 1.12 GB, free: 16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.3816, allocations: 240.4 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.3819, allocations: 66.47 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.3819, allocations: 21 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.382, allocations: 0 / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.382, allocations: 38.5 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.382, allocations: 3.828 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002659/0.3822, allocations: 73.62 kB / 1.12 GB, free: 15.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3823, allocations: 55.41 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3824, allocations: 121.8 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3824, allocations: 25.7 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.3825, allocations: 92.08 kB / 1.12 GB, free: 15.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3825, allocations: 23.95 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.3826, allocations: 13.72 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.3827, allocations: 318.8 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.3828, allocations: 12 kB / 1.121 GB, free: 14.81 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.3829, allocations: 63.34 kB / 1.121 GB, free: 14.74 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.952e-05/0.383, allocations: 28.84 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.383, allocations: 3.938 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.3831, allocations: 69.67 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3831, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3831, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3831, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.3832, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3832, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.3833, allocations: 16.02 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3833, allocations: 0 / 1.121 GB, free: 14.61 MB / 1.076 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 0.0001084/0.3834, allocations: 122 kB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.3834, allocations: 7.953 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3834, allocations: 15.97 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3834, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3834, allocations: 0 / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3834, allocations: 4 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.3836, allocations: 117.2 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3836, allocations: 4 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.3836, allocations: 7.984 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3836, allocations: 3.938 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3837, allocations: 3.938 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.3837, allocations: 0 / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3837, allocations: 4 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.3838, allocations: 159.4 kB / 1.121 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.3839, allocations: 3.938 kB / 1.121 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3839, allocations: 0 / 1.121 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3839, allocations: 7.984 kB / 1.121 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.384, allocations: 15.98 kB / 1.121 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.384, allocations: 0 / 1.121 GB, free: 14.08 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.862e-05/0.3841, allocations: 95.27 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3841, allocations: 0 / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002214/0.3843, allocations: 15.89 kB / 1.122 GB, free: 13.97 MB / 1.076 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 0.0001183/0.3844, allocations: 99.25 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3846, allocations: 31.97 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3846, allocations: 0 / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.3846, allocations: 19.94 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.385, allocations: 19.91 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.3853, allocations: 154.4 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.3854, allocations: 67.33 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.3855, allocations: 8 kB / 1.122 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.3855, allocations: 16.48 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.3855, allocations: 0 / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of Templates: time 0.003511/0.389, allocations: 0.7257 MB / 1.123 GB, free: 12.79 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.891319670015946]