Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.0017/0.0017, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001922/0.001922, allocations: 220.1 kB / 22.99 MB, free: 4.914 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.733/2.733, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T") [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.002096/0.002096, allocations: 65.25 kB / 1.118 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3684, allocations: 170 MB / 1.284 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002642/0.371, allocations: 0.6941 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3727, allocations: 0.8745 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.3728, allocations: 4 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.3729, allocations: 3.938 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.373, allocations: 11.88 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3732, allocations: 27.91 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.3734, allocations: 67.72 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3735, allocations: 15.98 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3737, allocations: 31.91 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.3738, allocations: 23.86 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3738, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.3739, allocations: 8 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.3739, allocations: 19.92 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.3739, allocations: 15.88 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.3741, allocations: 79.7 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3741, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3741, allocations: 3.938 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3741, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 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.0006643/0.3748, allocations: 290.2 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3749, allocations: 8.031 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.3751, allocations: 16.88 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.3754, allocations: 134.4 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3754, allocations: 16.38 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3754, allocations: 4.312 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3756, allocations: 62.22 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3756, allocations: 192 / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3757, allocations: 3.938 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3757, allocations: 0 / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.3758, allocations: 27.98 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.3764, allocations: 236.4 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.3767, allocations: 74.47 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.3768, allocations: 21 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.3768, allocations: 0 / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3769, allocations: 30.56 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3769, allocations: 0 / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003726/0.3773, allocations: 73.56 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.3773, allocations: 55.41 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3775, allocations: 125.8 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3775, allocations: 29.7 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.3776, allocations: 92.08 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.3776, allocations: 3.953 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/0.3777, allocations: 21.7 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3778, allocations: 318.8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.3779, allocations: 15.98 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.378, allocations: 55.34 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.3781, allocations: 32.84 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3782, allocations: 3.938 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001984/0.3784, allocations: 77.91 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3784, allocations: 14.44 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3784, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3784, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.3785, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3785, allocations: 0 / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.3786, allocations: 7.984 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.3786, allocations: 4 kB / 1.287 GB, free: 8.113 MB / 0.9825 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 0.0001396/0.3787, allocations: 121.8 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.3787, allocations: 3.953 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.3788, allocations: 12 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.3788, allocations: 3.984 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3788, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3788, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.379, allocations: 113.2 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.379, allocations: 4 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.3791, allocations: 7.938 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3791, allocations: 3.984 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.3791, allocations: 4 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3791, allocations: 4 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3791, allocations: 0 / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3794, allocations: 159.4 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.3794, allocations: 4 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3794, allocations: 4 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3795, allocations: 7.984 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.3796, allocations: 7.984 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3796, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001021/0.3797, allocations: 99.27 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3797, allocations: 4 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003519/0.38, allocations: 4 kB / 1.288 GB, free: 7.496 MB / 0.9825 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 0.0001344/0.3802, allocations: 99.19 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3804, allocations: 35.92 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3804, allocations: 0 / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.3805, allocations: 15.98 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3809, allocations: 12.7 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.3815, allocations: 197.8 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3816, allocations: 71.33 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.3816, allocations: 11.44 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3816, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of Templates: time 0.00348/0.3851, allocations: 0.871 MB / 1.289 GB, free: 6.133 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.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: 10.938157305121422]