Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.Examples.RenewableSources.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.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01053/0.01053, allocations: 220.3 kB / 15.17 MB, free: 6 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.001107/0.001107, allocations: 175.6 kB / 16.06 MB, free: 5.871 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.497/3.497, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.984/3.984, allocations: 472.3 MB / 0.9018 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008325/0.0008328, allocations: 12 kB / 1.008 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5627, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.04924/0.612, allocations: 40.16 MB / 1.143 GB, free: 186 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1775/0.7895, allocations: 157.7 MB / 1.297 GB, free: 40.46 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006741/0.7963, allocations: 127.4 kB / 1.297 GB, free: 40.33 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004134/0.8005, allocations: 1.687 MB / 1.299 GB, free: 38.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.8144, allocations: 4.099 MB / 1.303 GB, free: 34.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.8252, allocations: 3.483 MB / 1.306 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01493/0.8401, allocations: 12.04 MB / 1.318 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01703/0.8572, allocations: 9.536 MB / 1.327 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.8686, allocations: 6.615 MB / 1.334 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007805/0.8764, allocations: 4.641 MB / 1.338 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001972/0.8785, allocations: 288 kB / 1.339 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007803/0.8863, allocations: 1.759 MB / 1.34 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003818/0.8901, allocations: 2.171 MB / 1.343 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002958/0.8931, allocations: 1.795 MB / 1.344 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01969/0.9128, allocations: 13.55 MB / 1.358 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9129, allocations: 0 / 1.358 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.321e-06/0.9129, allocations: 0 / 1.358 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003335/0.9132, allocations: 0 / 1.358 GB, free: 10.95 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2453 * Number of variables: 2453 Notification: Performance of Generate backend data structure: time 0.02397/0.9372, allocations: 9.421 MB / 1.367 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.9373, allocations: 15.97 kB / 1.367 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5557/1.493, allocations: 8.676 MB / 1.375 GB, free: 221.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/1.506, allocations: 5.287 MB / 1.38 GB, free: 218.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006926/1.507, allocations: 0.6959 MB / 1.381 GB, free: 218.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002987/1.51, allocations: 0.9091 MB / 1.382 GB, free: 218.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04676/1.556, allocations: 14.33 MB / 1.396 GB, free: 213 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/1.557, allocations: 20.92 kB / 1.396 GB, free: 213 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00157/1.558, allocations: 398.1 kB / 1.396 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001476/1.56, allocations: 0.5875 MB / 1.397 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06019/1.62, allocations: 15.64 MB / 1.412 GB, free: 206.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09365/1.714, allocations: 46.7 MB / 1.458 GB, free: 162.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03377/1.748, allocations: 9.996 MB / 1.468 GB, free: 152.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01828/1.766, allocations: 5.844 MB / 1.473 GB, free: 146.7 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/1.767, allocations: 0.7144 MB / 1.474 GB, free: 145.9 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02036/1.788, allocations: 6.536 MB / 1.48 GB, free: 139.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=671): time 1.34e-05/1.788, allocations: 0 / 1.48 GB, free: 139.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1187): time 2.683/4.47, allocations: 337.2 MB / 1.81 GB, free: 182 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/4.471, allocations: 0.6785 MB / 1.81 GB, free: 181.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00774/4.478, allocations: 5.37 MB / 1.815 GB, free: 175.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003563/4.482, allocations: 237.7 kB / 1.816 GB, free: 175.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003143/4.485, allocations: 3.793 MB / 1.819 GB, free: 171.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.005982/4.491, allocations: 3.908 MB / 1.823 GB, free: 167.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00314/4.494, allocations: 239.5 kB / 1.823 GB, free: 167.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0006694/4.495, allocations: 0.7636 MB / 1.824 GB, free: 166.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07276/4.568, allocations: 19.28 MB / 1.843 GB, free: 147.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07429/4.642, allocations: 20.94 MB / 1.863 GB, free: 126.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07048/4.713, allocations: 19.19 MB / 1.882 GB, free: 106.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/4.713, allocations: 8 kB / 1.882 GB, free: 106.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=1565) (initialization): time 0.2123/4.925, allocations: 52.56 MB / 1.934 GB, free: 54.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006084/4.926, allocations: 1.36 MB / 1.935 GB, free: 52.33 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.308e-05/4.926, allocations: 28 kB / 1.935 GB, free: 52.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06936/4.995, allocations: 14.17 MB / 1.949 GB, free: 38.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04989/5.045, allocations: 6.347 MB / 1.955 GB, free: 31.77 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5718/5.617, allocations: 41.06 MB / 1.995 GB, free: 238.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04776/5.665, allocations: 4.455 MB / 1.999 GB, free: 237.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005042/5.67, allocations: 0.6401 MB / 2 GB, free: 237.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/5.67, allocations: 9.438 kB / 2 GB, free: 237.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2157/5.886, allocations: 49.37 MB / 2.048 GB, free: 224.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001221/5.886, allocations: 33.31 kB / 2.048 GB, free: 224.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05586/5.942, allocations: 10.52 MB / 2.059 GB, free: 223.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05523/5.997, allocations: 6.395 MB / 2.065 GB, free: 222.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06882/6.066, allocations: 31.48 MB / 2.096 GB, free: 193.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0496/6.115, allocations: 4.4 MB / 2.1 GB, free: 188.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00841/6.124, allocations: 0.6463 MB / 2.1 GB, free: 188.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 51 ($whenCondition7,$PRE.pow1.nextTimeEvent,$whenCondition6,$PRE.pow2.nextTimeEvent,$whenCondition5,$PRE.pow3.nextTimeEvent,$whenCondition4,$PRE.pow4.nextTimeEvent,$whenCondition3,$PRE.pow5.nextTimeEvent,$whenCondition2,$PRE.pow6.nextTimeEvent,$whenCondition1,$PRE.pow7.nextTimeEvent,$whenCondition9,$whenCondition8,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEventScaled,pow2.nextTimeEvent,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEvent,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEvent,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEvent,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEvent,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEvent,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEventScaled,line1.commercialCable.material,line2.commercialCable.material,line3.commercialCable.material,line4.commercialCable.material,line5.commercialCable.material,line6.commercialCable.material,line7.commercialCable.material,line8.commercialCable.material,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 (1318): * Single equations (assignments): 1297 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,20.8%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of prepare postOptimizeDAE: time 0.01992/6.144, allocations: 2.464 MB / 2.103 GB, free: 185.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008455/6.152, allocations: 0.8261 MB / 2.104 GB, free: 185.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2605/6.413, allocations: 53.62 MB / 2.156 GB, free: 131.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/6.413, allocations: 116 kB / 2.156 GB, free: 131.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/6.413, allocations: 19.98 kB / 2.156 GB, free: 131.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002643/6.413, allocations: 55.78 kB / 2.156 GB, free: 131.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2668/6.68, allocations: 118.3 MB / 2.272 GB, free: 5.867 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001366/6.68, allocations: 7.984 kB / 2.272 GB, free: 5.859 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0466/6.727, allocations: 5.728 MB / 2.277 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06741/6.794, allocations: 12.97 MB / 2.29 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004009/6.798, allocations: 447 kB / 2.29 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5654/7.364, allocations: 38.63 MB / 2.328 GB, free: 245.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.291e-06/7.364, allocations: 4.875 kB / 2.328 GB, free: 245.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3046/7.668, allocations: 74.63 MB / 2.401 GB, free: 211.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01144/7.68, allocations: 4.136 MB / 2.405 GB, free: 207.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004636/7.685, allocations: 208 kB / 2.405 GB, free: 207.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04081/7.725, allocations: 4.41 MB / 2.41 GB, free: 203.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003164/7.729, allocations: 0.756 MB / 2.41 GB, free: 202.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003376/7.732, allocations: 0.5111 MB / 2.411 GB, free: 201.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00588/7.738, allocations: 3.56 MB / 2.414 GB, free: 198.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.22e-06/7.738, allocations: 0 / 2.414 GB, free: 198.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02688/7.765, allocations: 6.334 MB / 2.421 GB, free: 192 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (EWin.y,ESol.y,ELoa.y) * Number of discrete variables: 25 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEvent,pow2.nextTimeEventScaled,pow3.nextTimeEvent,pow3.nextTimeEventScaled,pow4.nextTimeEvent,pow4.nextTimeEventScaled,pow5.nextTimeEvent,pow5.nextTimeEventScaled,pow6.nextTimeEvent,pow6.nextTimeEventScaled,pow7.nextTimeEvent,pow7.nextTimeEventScaled) * Number of discrete states: 16 (weaDat.conTim1.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,pow2.nextTimeEvent,pow3.nextTimeEvent,pow4.nextTimeEvent,pow5.nextTimeEvent,pow6.nextTimeEvent,pow7.nextTimeEvent,pow1.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1044): * Single equations (assignments): 1025 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,21.4%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of Backend phase and start with SimCode phase: time 0.01242/7.777, allocations: 2.94 MB / 2.423 GB, free: 190.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.2403/8.018, allocations: 68.97 MB / 2.491 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/8.018, allocations: 0.5625 kB / 2.491 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.08125/8.099, allocations: 22.81 MB / 2.513 GB, free: 98.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/8.112, allocations: 1.502 MB / 2.514 GB, free: 97.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/8.216, allocations: 39.37 MB / 2.553 GB, free: 57.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007146/8.224, allocations: 5.542 MB / 2.558 GB, free: 52.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.06117/8.285, allocations: 5.342 MB / 2.564 GB, free: 47.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01448/8.299, allocations: 1.119 MB / 2.565 GB, free: 46.12 MB / 0.8386 GB Notification: Performance of SimCode: time 1.763e-06/8.299, allocations: 4 kB / 2.565 GB, free: 46.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.9905/9.29, allocations: 308.8 MB / 2.866 GB, free: 48.77 MB / 0.8386 GB