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.001891/0.001891, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002216/0.002216, allocations: 158.2 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.922 MB / 190.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 2.891/2.891, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.002084/0.002084, allocations: 60.19 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9263/0.9284, allocations: 176.1 MB / 1.154 GB, free: 33.56 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001842/0.9302, allocations: 0.6893 MB / 1.155 GB, free: 33.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.9311, allocations: 0.8779 MB / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.9312, allocations: 0 / 1.155 GB, free: 32.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.9312, allocations: 3.938 kB / 1.155 GB, free: 32.47 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.9313, allocations: 18.19 kB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.9315, allocations: 22.38 kB / 1.155 GB, free: 32.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.996e-05/0.9316, allocations: 70.23 kB / 1.156 GB, free: 32.41 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.9317, allocations: 16.97 kB / 1.156 GB, free: 32.4 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.9318, allocations: 30.34 kB / 1.156 GB, free: 32.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.9319, allocations: 30.02 kB / 1.156 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.9319, allocations: 5.031 kB / 1.156 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-05/0.932, allocations: 7.875 kB / 1.156 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.932, allocations: 10.72 kB / 1.156 GB, free: 32.36 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.932, allocations: 28.84 kB / 1.156 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.9322, allocations: 68.11 kB / 1.156 GB, free: 32.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9322, allocations: 0 / 1.156 GB, free: 32.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9322, allocations: 0 / 1.156 GB, free: 32.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.9322, allocations: 0 / 1.156 GB, free: 32.32 MB / 1.076 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.0004559/0.9326, allocations: 297 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.9327, allocations: 14.62 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.9328, allocations: 16.88 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.9331, allocations: 131.8 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.9331, allocations: 2.75 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.9331, allocations: 2.938 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.9332, allocations: 59.53 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.9332, allocations: 192 / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.9333, allocations: 7.938 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.9333, allocations: 0 / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.9334, allocations: 39.02 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.9337, allocations: 230.3 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.934, allocations: 75.3 kB / 1.157 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.934, allocations: 17.02 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.934, allocations: 2.375 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.9341, allocations: 30.56 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9341, allocations: 4 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.000233/0.9343, allocations: 82.11 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.9343, allocations: 51.41 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.9344, allocations: 118 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.9344, allocations: 25.7 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.9344, allocations: 90.11 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.9344, allocations: 14.73 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.9345, allocations: 15.95 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.9345, allocations: 317.6 kB / 1.157 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.9346, allocations: 19.66 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.9346, allocations: 58.38 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/0.9347, allocations: 23.95 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9347, allocations: 3.938 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000117/0.9348, allocations: 74.05 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9349, allocations: 11.41 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9349, allocations: 0 / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.9349, allocations: 0 / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.9349, allocations: 9.5 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.9349, allocations: 4.031 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.935, allocations: 8.922 kB / 1.157 GB, free: 30.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.935, allocations: 0 / 1.157 GB, free: 30.69 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 (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 5.646e-05/0.935, allocations: 120.3 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.9351, allocations: 10.2 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.9351, allocations: 8 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.9351, allocations: 2.906 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9351, allocations: 0 / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9351, allocations: 0 / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.9352, allocations: 128.7 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.9352, allocations: 0 / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.9352, allocations: 5.688 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.9353, allocations: 0 / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.9353, allocations: 3.188 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9353, allocations: 4 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.9353, allocations: 3.938 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.9354, allocations: 162.8 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.9354, allocations: 2.906 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.9354, allocations: 2.812 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.9355, allocations: 10.05 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.9355, allocations: 10.25 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.9355, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.9356, allocations: 94.59 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.9356, allocations: 0 / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002224/0.9358, allocations: 16.36 kB / 1.158 GB, free: 30.16 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 (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 7.307e-05/0.9359, allocations: 101.2 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.936, allocations: 31.41 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/0.936, allocations: 6.875 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.9361, allocations: 16.59 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.9364, allocations: 10.39 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.9366, allocations: 150.6 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.9367, allocations: 73.02 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.9367, allocations: 6.906 kB / 1.158 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.9367, allocations: 13.94 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.9367, allocations: 0 / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of Templates: time 0.002969/0.9397, allocations: 0.7462 MB / 1.159 GB, free: 29.73 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.958262193016708]