Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009248/0.009252, allocations: 108.7 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00112/0.001119, allocations: 180.1 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.816/1.816, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.258/2.258, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006759/0.0006762, allocations: 12 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6398/0.6406, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006503/0.6471, allocations: 4.968 MB / 0.6882 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2157/0.8629, allocations: 128.1 MB / 0.8133 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.8648, allocations: 15.94 kB / 0.8133 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006573/0.8655, allocations: 110.9 kB / 0.8134 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.8699, allocations: 0.5607 MB / 0.814 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006234/0.8761, allocations: 0.8692 MB / 0.8148 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005537/0.8817, allocations: 1.336 MB / 0.8161 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.8854, allocations: 1.085 MB / 0.8172 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.8883, allocations: 0.7081 MB / 0.8179 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/0.8908, allocations: 0.758 MB / 0.8186 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000636/0.8915, allocations: 60 kB / 0.8187 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.8937, allocations: 307.7 kB / 0.819 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008322/0.8945, allocations: 338.5 kB / 0.8193 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008978/0.8955, allocations: 348.6 kB / 0.8196 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006415/0.9019, allocations: 2.292 MB / 0.8219 GB, free: 220 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.094e-06/0.902, allocations: 0 / 0.8219 GB, free: 220 kB / 0.6355 GB Notification: Performance of FrontEnd: time 4.272e-06/0.902, allocations: 0 / 0.8219 GB, free: 220 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.021e-05/0.9021, allocations: 4 kB / 0.8219 GB, free: 216 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.01134/0.9134, allocations: 2.09 MB / 0.8239 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.568e-05/0.9135, allocations: 8.031 kB / 0.8239 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03385/0.9474, allocations: 2.315 MB / 0.8262 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.9502, allocations: 1.103 MB / 0.8272 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.9504, allocations: 152.2 kB / 0.8274 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/0.9509, allocations: 208 kB / 0.8276 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.9623, allocations: 3.126 MB / 0.8306 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.657e-05/0.9624, allocations: 0 / 0.8306 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003548/0.9628, allocations: 88 kB / 0.8307 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.9628, allocations: 48 kB / 0.8308 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.9797, allocations: 4.207 MB / 0.8349 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.9991, allocations: 6.649 MB / 0.8414 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/1.014, allocations: 2.872 MB / 0.8442 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002028/1.016, allocations: 0.5034 MB / 0.8447 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01203/1.028, allocations: 1.707 MB / 0.8463 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=192): time 5.628e-06/1.028, allocations: 0 / 0.8463 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of matching and sorting (n=192): time 0.01892/1.047, allocations: 4.179 MB / 0.8504 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/1.047, allocations: 180.2 kB / 0.8506 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/1.048, allocations: 0.7671 MB / 0.8513 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004426/1.049, allocations: 57.7 kB / 0.8514 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/1.05, allocations: 0.6645 MB / 0.852 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.051, allocations: 0.6198 MB / 0.8526 GB, free: 124 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/1.051, allocations: 32 kB / 0.8527 GB, free: 92 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003536/1.052, allocations: 369.8 kB / 0.853 GB, free: 15.72 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009323/1.061, allocations: 1.183 MB / 0.8542 GB, free: 14.54 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007553/1.068, allocations: 1.35 MB / 0.8555 GB, free: 13.16 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005579/1.074, allocations: 1.27 MB / 0.8567 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.074, allocations: 0 / 0.8567 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01265/1.087, allocations: 3.026 MB / 0.8597 GB, free: 8.832 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/1.087, allocations: 59.41 kB / 0.8598 GB, free: 8.762 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.087, allocations: 4 kB / 0.8598 GB, free: 8.758 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006771/1.088, allocations: 92.95 kB / 0.8598 GB, free: 8.664 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004519/1.092, allocations: 0.5616 MB / 0.8604 GB, free: 8.102 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/1.095, allocations: 1.532 MB / 0.8619 GB, free: 6.434 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/1.098, allocations: 334.3 kB / 0.8622 GB, free: 6.105 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/1.099, allocations: 87.84 kB / 0.8623 GB, free: 6.02 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001263/1.1, allocations: 399.4 kB / 0.8627 GB, free: 5.621 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/1.1, allocations: 134.4 kB / 0.8628 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.116, allocations: 3.478 MB / 0.8662 GB, free: 1.984 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/1.116, allocations: 24 kB / 0.8662 GB, free: 1.961 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.138e-06/1.116, allocations: 0 / 0.8662 GB, free: 1.961 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/1.116, allocations: 11.95 kB / 0.8662 GB, free: 1.949 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/1.134, allocations: 5.68 MB / 0.8718 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.134, allocations: 0 / 0.8718 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004456/1.139, allocations: 0.5422 MB / 0.8723 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006444/1.14, allocations: 84.78 kB / 0.8724 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/1.14, allocations: 67.91 kB / 0.8725 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/1.143, allocations: 1.556 MB / 0.874 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.569e-06/1.143, allocations: 0 / 0.874 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.155, allocations: 3.019 MB / 0.8769 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.157, allocations: 0.5491 MB / 0.8775 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/1.157, allocations: 32 kB / 0.8775 GB, free: 6.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003078/1.16, allocations: 255.7 kB / 0.8777 GB, free: 5.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/1.161, allocations: 117.8 kB / 0.8778 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/1.161, allocations: 87.91 kB / 0.8779 GB, free: 5.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001169/1.162, allocations: 0.578 MB / 0.8785 GB, free: 5.141 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.89e-07/1.162, allocations: 0 / 0.8785 GB, free: 5.141 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002095/1.164, allocations: 0.5763 MB / 0.8791 GB, free: 4.562 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/1.166, allocations: 0.654 MB / 0.8797 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.18, allocations: 3.06 MB / 0.8827 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.18, allocations: 4 kB / 0.8827 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006939/1.187, allocations: 1.65 MB / 0.8843 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.188, allocations: 221.5 kB / 0.8845 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.201, allocations: 4.639 MB / 0.889 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/1.203, allocations: 1.376 MB / 0.8904 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004845/1.208, allocations: 0.5453 MB / 0.8909 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.209, allocations: 211.2 kB / 0.8911 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of SimCode: time 1.747e-06/1.209, allocations: 0 / 0.8911 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of Templates: time 0.537/1.746, allocations: 24.58 MB / 0.9151 GB, free: 212.6 MB / 0.7292 GB