Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 297.4 MB / 312.6 MB, free: 2.938 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 190 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009025/0.0009028, allocations: 94.81 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 8 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8526/0.853, allocations: 119.2 MB / 1.022 GB, free: 57.92 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001058/0.8541, allocations: 425 kB / 1.023 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.8553, allocations: 0.8361 MB / 1.023 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.8553, allocations: 1.375 kB / 1.023 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.8553, allocations: 7.219 kB / 1.023 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.8555, allocations: 7.781 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.8556, allocations: 16.42 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.872e-05/0.8557, allocations: 52.84 kB / 1.024 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.8559, allocations: 20.83 kB / 1.024 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.856, allocations: 27.83 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.8561, allocations: 17.38 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.8561, allocations: 2.469 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.8561, allocations: 2.781 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.8562, allocations: 13.7 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.8562, allocations: 51.52 kB / 1.024 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.8563, allocations: 59.58 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8564, allocations: 6.406 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8564, allocations: 0 / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8564, allocations: 0 / 1.024 GB, free: 57.18 MB / 0.698 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.0004828/0.8569, allocations: 360.4 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.8569, allocations: 10.19 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.857, allocations: 7.016 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.8572, allocations: 197.2 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.8572, allocations: 4.625 kB / 1.024 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.8573, allocations: 6.969 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.8574, allocations: 61.98 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8575, allocations: 0.9062 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.8575, allocations: 3.938 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.8575, allocations: 0.5 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.8576, allocations: 35.78 kB / 1.024 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.8581, allocations: 307.2 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.8584, allocations: 87.31 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.8585, allocations: 19.25 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.8585, allocations: 0 / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.8585, allocations: 36.91 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.965e-06/0.8585, allocations: 1.812 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.00027/0.8588, allocations: 81.5 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.8589, allocations: 53.28 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.859, allocations: 120.7 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.859, allocations: 29.48 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.8591, allocations: 96.03 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.8591, allocations: 7.703 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.8591, allocations: 0.9688 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.8592, allocations: 322.7 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.8592, allocations: 17.41 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/0.8593, allocations: 35.94 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.8594, allocations: 36.8 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8594, allocations: 1.188 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001434/0.8596, allocations: 75 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.8596, allocations: 9.594 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8596, allocations: 0.6094 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8596, allocations: 1.469 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.8597, allocations: 6.719 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.8597, allocations: 0 / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.8598, allocations: 16.06 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.8598, allocations: 0.9375 kB / 1.026 GB, free: 55.39 MB / 0.698 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 ($PRE.shaT.hys.y,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 7.275e-05/0.8599, allocations: 122.9 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.8599, allocations: 7.203 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.8599, allocations: 9.734 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.8599, allocations: 1.594 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8599, allocations: 0.5625 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.8599, allocations: 4 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.8601, allocations: 173.8 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.8601, allocations: 1.938 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.8602, allocations: 5.688 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.8602, allocations: 2.406 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.8602, allocations: 3.938 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8602, allocations: 0.8438 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8602, allocations: 1.344 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.8604, allocations: 162.6 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.8604, allocations: 82.77 kB / 1.026 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.8604, allocations: 6.266 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.8605, allocations: 7.859 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.8606, allocations: 6.953 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.8606, allocations: 1.875 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.8606, allocations: 97.39 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8606, allocations: 0 / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002018/0.8608, allocations: 11.16 kB / 1.026 GB, free: 54.72 MB / 0.698 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.0001278/0.861, allocations: 111.7 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.8612, allocations: 40.17 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8612, allocations: 0 / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.051e-05/0.8612, allocations: 24.27 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.8615, allocations: 10.62 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.8619, allocations: 185.7 kB / 1.027 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.862, allocations: 0.6921 MB / 1.027 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.544e-05/0.8621, allocations: 4 kB / 1.027 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.8621, allocations: 13.69 kB / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.8621, allocations: 0 / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of Templates: time 0.00274/0.8649, allocations: 0.5998 MB / 1.028 GB, free: 53.68 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)