Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001559/0.001559, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.0017/0.0017, allocations: 220.1 kB / 23.05 MB, free: 4.844 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.072/3.072, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002045/0.002045, allocations: 71.81 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00187/0.3154, allocations: 0.6838 MB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3165, allocations: 0.8861 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.3166, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.3166, allocations: 3.938 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.3167, allocations: 11.88 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.3169, allocations: 31.89 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.098e-05/0.317, allocations: 55.8 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.3171, allocations: 15.98 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3172, allocations: 35.84 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.3173, allocations: 23.86 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.3173, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.3174, allocations: 15.94 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.3174, allocations: 11.98 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.3174, allocations: 19.88 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3175, allocations: 75.64 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3175, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3175, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3176, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 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.0004673/0.318, allocations: 294.2 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3181, allocations: 12.03 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.3182, allocations: 20.88 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3184, allocations: 134.4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3185, allocations: 4.312 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.3185, allocations: 4.375 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3186, allocations: 58.22 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3186, allocations: 192 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3186, allocations: 11.94 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3186, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.804e-05/0.3187, allocations: 23.98 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.3191, allocations: 240.4 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3194, allocations: 70.53 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.3194, allocations: 20.94 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3195, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3195, allocations: 30.56 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3195, allocations: 3.938 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002524/0.3197, allocations: 77.56 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.3198, allocations: 55.41 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3199, allocations: 121.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3199, allocations: 29.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.32, allocations: 88.08 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.32, allocations: 11.95 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.32, allocations: 17.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3202, allocations: 314.8 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.3202, allocations: 15.98 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.3203, allocations: 59.59 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.081e-05/0.3204, allocations: 32.92 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3204, allocations: 3.938 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001514/0.3206, allocations: 73.56 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3206, allocations: 6.031 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3206, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3206, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.3206, allocations: 8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3206, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.3207, allocations: 15.95 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3207, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 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 8.547e-05/0.3208, allocations: 117.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.3208, allocations: 7.953 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.3209, allocations: 11.98 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3209, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3209, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3209, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.321, allocations: 117.2 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.321, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.3211, allocations: 15.92 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3211, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.3211, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3211, allocations: 7.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3211, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.3213, allocations: 159.4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.3213, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.3213, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3214, allocations: 7.984 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3214, allocations: 7.984 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3214, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.3215, allocations: 95.64 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3215, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002209/0.3217, allocations: 11.95 kB / 1.331 GB, free: 12.46 MB / 1.029 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.0001072/0.3218, allocations: 107.2 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.322, allocations: 35.97 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.322, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.322, allocations: 12 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3223, allocations: 15.94 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.3227, allocations: 189.9 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.249e-05/0.3227, allocations: 71.33 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.3228, allocations: 7.438 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3228, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of Templates: time 0.002358/0.3251, allocations: 0.8633 MB / 1.333 GB, free: 11.1 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.559994913870469]