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.018/0.018, allocations: 221.5 kB / 15.17 MB, free: 5.93 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.001686/0.001686, allocations: 177.7 kB / 16.06 MB, free: 5.828 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 3.679/3.679, allocations: 389.1 MB / 405.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.096/4.096, allocations: 472.3 MB / 0.9018 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004751, allocations: 8 kB / 1.008 GB, free: 177 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 98.72 MB / 1.104 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005509/0.1401, allocations: 5.108 MB / 1.109 GB, free: 75.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.7604/0.9006, allocations: 137.2 MB / 1.243 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.9025, allocations: 21.91 kB / 1.243 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007478/0.9032, allocations: 105.5 kB / 1.243 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.9073, allocations: 0.4923 MB / 1.244 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.9122, allocations: 0.8715 MB / 1.244 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004669/0.9169, allocations: 2.024 MB / 1.246 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.9195, allocations: 1.07 MB / 1.247 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.9211, allocations: 0.6696 MB / 1.248 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.9226, allocations: 0.7935 MB / 1.249 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005168/0.9232, allocations: 61.62 kB / 1.249 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.9248, allocations: 337.3 kB / 1.249 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007885/0.9256, allocations: 343.4 kB / 1.25 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.9262, allocations: 348.2 kB / 1.25 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.9293, allocations: 2.286 MB / 1.252 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.69e-06/0.9293, allocations: 0 / 1.252 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.497e-06/0.9293, allocations: 1.094 kB / 1.252 GB, free: 2.625 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.418e-05/0.9294, allocations: 3.938 kB / 1.252 GB, free: 2.621 MB / 0.6042 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.005419/0.9348, allocations: 2.083 MB / 1.254 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.9349, allocations: 9.281 kB / 1.254 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03335/0.9683, allocations: 2.311 MB / 1.256 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004638/0.973, allocations: 1.104 MB / 1.258 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.9733, allocations: 158.6 kB / 1.258 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00098/0.9743, allocations: 199.1 kB / 1.258 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.9944, allocations: 3.147 MB / 1.261 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.316e-05/0.9945, allocations: 0 / 1.261 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006631/0.9952, allocations: 87.22 kB / 1.261 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.9953, allocations: 56.12 kB / 1.261 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02786/1.023, allocations: 4.202 MB / 1.265 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03099/1.054, allocations: 6.649 MB / 1.272 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02061/1.075, allocations: 2.865 MB / 1.274 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01162/1.087, allocations: 1.426 MB / 1.276 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002508/1.089, allocations: 0.5031 MB / 1.276 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008083/1.097, allocations: 1.706 MB / 1.278 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=192): time 6.998e-06/1.097, allocations: 0 / 1.278 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=192): time 0.01981/1.117, allocations: 4.18 MB / 1.282 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.117, allocations: 180.2 kB / 1.282 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/1.119, allocations: 0.7788 MB / 1.283 GB, free: 252 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005058/1.119, allocations: 57.7 kB / 1.283 GB, free: 188 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007609/1.12, allocations: 0.6528 MB / 1.284 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/1.121, allocations: 0.6197 MB / 1.284 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/1.122, allocations: 32 kB / 1.284 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003038/1.122, allocations: 426.7 kB / 1.285 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006052/1.128, allocations: 1.198 MB / 1.286 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00943/1.137, allocations: 1.376 MB / 1.287 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007034/1.144, allocations: 1.282 MB / 1.289 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.145, allocations: 0 / 1.289 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01333/1.158, allocations: 3.077 MB / 1.292 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/1.158, allocations: 59.52 kB / 1.292 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.158, allocations: 7.891 kB / 1.292 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006751/1.159, allocations: 97.33 kB / 1.292 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/1.164, allocations: 0.5695 MB / 1.292 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/1.166, allocations: 1.518 MB / 1.294 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/1.17, allocations: 337.6 kB / 1.294 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005108/1.17, allocations: 95.89 kB / 1.294 GB, free: 4.629 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * 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.001341/1.172, allocations: 397.7 kB / 1.295 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/1.172, allocations: 130.4 kB / 1.295 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.187, allocations: 3.482 MB / 1.298 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/1.187, allocations: 23.94 kB / 1.298 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.187, allocations: 1.75 kB / 1.298 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-05/1.187, allocations: 15.89 kB / 1.298 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.207, allocations: 5.676 MB / 1.304 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.207, allocations: 0 / 1.304 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007584/1.215, allocations: 0.5422 MB / 1.304 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008354/1.216, allocations: 84.78 kB / 1.304 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005622/1.216, allocations: 67.91 kB / 1.304 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/1.219, allocations: 1.544 MB / 1.306 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.786e-06/1.219, allocations: 0 / 1.306 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/1.24, allocations: 3.031 MB / 1.309 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.242, allocations: 0.5375 MB / 1.309 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004993/1.243, allocations: 36 kB / 1.309 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/1.246, allocations: 255.7 kB / 1.31 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003827/1.246, allocations: 121.8 kB / 1.31 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/1.247, allocations: 83.92 kB / 1.31 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001184/1.248, allocations: 0.5741 MB / 1.31 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.47e-07/1.248, allocations: 0 / 1.31 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002446/1.25, allocations: 0.588 MB / 1.311 GB, free: 3.172 MB / 0.6511 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.002386/1.253, allocations: 0.6389 MB / 1.312 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.266, allocations: 3.103 MB / 1.315 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.063e-06/1.266, allocations: 3.938 kB / 1.315 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00634/1.272, allocations: 1.646 MB / 1.316 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/1.274, allocations: 251.7 kB / 1.316 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.287, allocations: 4.651 MB / 1.321 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.289, allocations: 1.368 MB / 1.322 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004959/1.293, allocations: 0.5531 MB / 1.323 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/1.295, allocations: 207.2 kB / 1.323 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of SimCode: time 1.776e-06/1.295, allocations: 0 / 1.323 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of Templates: time 0.06253/1.357, allocations: 24.59 MB / 1.347 GB, free: 14.53 MB / 0.698 GB