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.001569/0.001569, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001457/0.001457, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.729/2.729, allocations: 476.7 MB / 0.7714 GB, free: 4.246 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.002141/0.002141, allocations: 66.88 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3121, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001977/0.3141, allocations: 0.713 MB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3153, allocations: 0.89 MB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.3153, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.3154, allocations: 3.938 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.3155, allocations: 15.86 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.3157, allocations: 31.91 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3158, allocations: 55.86 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3159, allocations: 15.98 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.316, allocations: 35.84 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.3161, allocations: 23.92 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3161, allocations: 4 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-05/0.3162, allocations: 8 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3162, allocations: 23.86 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.3162, allocations: 23.86 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.3164, allocations: 71.66 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3164, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.198e-06/0.3164, allocations: 3.984 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3164, allocations: 7.938 kB / 1.286 GB, free: 9.32 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.0005044/0.3169, allocations: 286.2 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3169, allocations: 12.03 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3171, allocations: 16.88 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3173, allocations: 146.3 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3173, allocations: 384 / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3173, allocations: 4.375 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3175, allocations: 62.17 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3175, allocations: 192 / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3175, allocations: 3.938 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3175, allocations: 4 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.3176, allocations: 27.98 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.3181, allocations: 267.8 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.3184, allocations: 74.47 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.3185, allocations: 17 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3185, allocations: 4 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3185, allocations: 30.56 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.3185, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002642/0.3188, allocations: 77.56 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3188, allocations: 51.41 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3189, allocations: 125.8 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3189, allocations: 29.7 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.319, allocations: 92.08 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.319, allocations: 7.953 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3191, allocations: 21.7 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3192, allocations: 322.8 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.3193, allocations: 15.98 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.3193, allocations: 29.7 kB / 1.288 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.3194, allocations: 28.84 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3194, allocations: 0 / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001471/0.3196, allocations: 65.86 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3196, allocations: 16.02 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3196, allocations: 48 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3196, allocations: 3.984 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.3197, allocations: 4 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3197, allocations: 0 / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.3197, allocations: 11.98 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3197, allocations: 0 / 1.288 GB, free: 7.305 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.276e-05/0.3198, allocations: 117.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.3198, allocations: 7.953 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.3199, allocations: 12 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3199, allocations: 0 / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3199, allocations: 3.938 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3199, allocations: 3.984 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3201, allocations: 144.8 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3201, allocations: 0 / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.3201, allocations: 7.984 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3201, allocations: 4 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.3201, allocations: 0 / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3201, allocations: 0 / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3201, allocations: 8 kB / 1.289 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3203, allocations: 159.4 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.3203, allocations: 8 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3203, allocations: 0 / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.3204, allocations: 11.92 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.3205, allocations: 7.984 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3205, allocations: 0 / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.19e-05/0.3205, allocations: 103.3 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3205, allocations: 0 / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002278/0.3208, allocations: 11.95 kB / 1.289 GB, free: 6.633 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.0001032/0.3209, allocations: 91.25 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001601/0.321, allocations: 39.91 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.321, allocations: 0 / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.3211, allocations: 16 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3214, allocations: 23.84 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.3218, allocations: 175.7 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3221, allocations: 0.6885 MB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.3222, allocations: 7.438 kB / 1.29 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3222, allocations: 7.938 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.002463/0.3246, allocations: 0.8512 MB / 1.291 GB, free: 4.676 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.97329890500987]