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.001878/0.001878, allocations: 113 kB / 18.94 MB, free: 2.934 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.002313/0.002313, allocations: 208.9 kB / 22.25 MB, free: 5.086 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 8.027 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.877/2.877, allocations: 476.7 MB / 0.7706 GB, free: 4.324 MB / 0.6231 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_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.002128/0.002128, allocations: 68.22 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.415, allocations: 170 MB / 1.284 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002409/0.4174, allocations: 0.7096 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.4187, allocations: 0.8978 MB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.4188, allocations: 4 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.4188, allocations: 3.938 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.4189, allocations: 7.875 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.4191, allocations: 19.98 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.4192, allocations: 59.84 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.4193, allocations: 19.97 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.4195, allocations: 35.8 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.4196, allocations: 23.92 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4196, allocations: 12 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.4197, allocations: 4 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.4197, allocations: 19.91 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.4197, allocations: 23.88 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.4199, allocations: 79.58 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4199, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4199, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4199, allocations: 0 / 1.286 GB, free: 9.371 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.0005101/0.4204, allocations: 286.2 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4204, allocations: 16.03 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.4206, allocations: 16.88 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4209, allocations: 134.4 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4209, allocations: 384 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4209, allocations: 8.375 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.4211, allocations: 54.23 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4211, allocations: 4.188 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4211, allocations: 3.938 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4211, allocations: 4 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.4212, allocations: 35.86 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.4217, allocations: 267.8 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.422, allocations: 70.47 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.422, allocations: 16.92 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.422, allocations: 176 / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4221, allocations: 38.55 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.4221, allocations: 0 / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002762/0.4223, allocations: 69.62 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4224, allocations: 51.41 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4225, allocations: 125.8 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4225, allocations: 29.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.4226, allocations: 100 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.4226, allocations: 7.953 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.4227, allocations: 21.7 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4228, allocations: 318.7 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.4229, allocations: 15.98 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.423, allocations: 37.7 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.423, allocations: 24.84 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.423, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.4232, allocations: 65.64 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4232, allocations: 4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4232, allocations: 0 / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4232, allocations: 0 / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.4233, allocations: 11.92 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4233, allocations: 4.031 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.4233, allocations: 11.98 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4233, allocations: 0 / 1.287 GB, free: 7.359 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 9.167e-05/0.4234, allocations: 118.1 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.4235, allocations: 7.953 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.4235, allocations: 11.98 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4235, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4235, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4235, allocations: 4 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4237, allocations: 152.7 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4237, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.4237, allocations: 4 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4237, allocations: 0 / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4237, allocations: 7.984 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4237, allocations: 4 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4237, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4239, allocations: 167.4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.4239, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.424, allocations: 3.938 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.424, allocations: 11.92 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.4241, allocations: 11.98 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.4241, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.4242, allocations: 95.27 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4242, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000219/0.4244, allocations: 8 kB / 1.288 GB, free: 6.691 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.0001108/0.4245, allocations: 99.25 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.4246, allocations: 31.98 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4246, allocations: 0 / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.4247, allocations: 19.92 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.425, allocations: 14.38 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.4254, allocations: 158 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4257, allocations: 0.6885 MB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.4257, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.4258, allocations: 11.44 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4258, allocations: 0 / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of Templates: time 0.003422/0.4292, allocations: 0.7462 MB / 1.29 GB, free: 4.875 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/jenkins/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: 9.663018804974854]