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.009256/0.009256, allocations: 107.7 kB / 15.06 MB, free: 5.559 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.001138/0.001138, allocations: 176.8 kB / 15.94 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.856/1.856, allocations: 194.6 MB / 211.3 MB, free: 10.99 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.288/2.288, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004666, allocations: 8 kB / 0.5869 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6238/0.6243, allocations: 98.72 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.05346/0.6778, allocations: 38.6 MB / 0.721 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.2521/0.9299, allocations: 148.4 MB / 0.8659 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007585/0.9376, allocations: 123.3 kB / 0.866 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005313/0.9429, allocations: 1.703 MB / 0.8677 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.9602, allocations: 4.128 MB / 0.8717 GB, free: 13.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01341/0.9736, allocations: 3.485 MB / 0.8751 GB, free: 9.582 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01718/0.9909, allocations: 7.234 MB / 0.8822 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02221/1.013, allocations: 9.528 MB / 0.8915 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/1.024, allocations: 4.738 MB / 0.8961 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008355/1.032, allocations: 3.997 MB / 0.9 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002302/1.035, allocations: 288 kB / 0.9003 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007665/1.042, allocations: 1.795 MB / 0.9021 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003861/1.046, allocations: 2.082 MB / 0.9041 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00329/1.049, allocations: 1.789 MB / 0.9058 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 1.363/2.412, allocations: 13.53 MB / 0.919 GB, free: 26.33 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 4.239e-06/2.412, allocations: 2.094 kB / 0.919 GB, free: 26.33 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.839e-06/2.412, allocations: 0 / 0.919 GB, free: 26.33 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 0.0004164/2.413, allocations: 0 / 0.919 GB, free: 26.33 MB / 0.7293 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.02555/2.438, allocations: 9.423 MB / 0.9283 GB, free: 21.84 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/2.438, allocations: 13.16 kB / 0.9283 GB, free: 21.84 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06497/2.503, allocations: 8.668 MB / 0.9367 GB, free: 21.05 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/2.519, allocations: 5.316 MB / 0.9419 GB, free: 20.03 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008798/2.52, allocations: 0.6899 MB / 0.9426 GB, free: 20.01 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003964/2.524, allocations: 0.9082 MB / 0.9435 GB, free: 20 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05749/2.581, allocations: 14.26 MB / 0.9574 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003731/2.582, allocations: 22.56 kB / 0.9574 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003229/2.585, allocations: 396.6 kB / 0.9578 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/2.586, allocations: 0.5838 MB / 0.9584 GB, free: 18.74 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05915/2.645, allocations: 15.64 MB / 0.9736 GB, free: 15.54 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1005/2.746, allocations: 46.71 MB / 1.019 GB, free: 6.73 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03847/2.785, allocations: 10.05 MB / 1.029 GB, free: 1.363 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/2.786, allocations: 0.7144 MB / 1.03 GB, free: 0.6055 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02428/2.811, allocations: 6.515 MB / 1.036 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=671): time 1.547e-05/2.811, allocations: 0 / 1.036 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1187): time 2.767/5.578, allocations: 337.1 MB / 1.365 GB, free: 356.7 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/5.578, allocations: 0.6863 MB / 1.366 GB, free: 355.9 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01484/5.593, allocations: 5.355 MB / 1.371 GB, free: 350.5 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.005903/5.599, allocations: 233.7 kB / 1.371 GB, free: 350.3 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.005504/5.605, allocations: 3.805 MB / 1.375 GB, free: 346.5 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.01046/5.615, allocations: 3.908 MB / 1.379 GB, free: 342.6 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006171/5.621, allocations: 236 kB / 1.379 GB, free: 342.4 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.00124/5.623, allocations: 0.7712 MB / 1.38 GB, free: 341.6 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.08965/5.712, allocations: 19.26 MB / 1.399 GB, free: 322.3 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1153/5.828, allocations: 20.87 MB / 1.419 GB, free: 301 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07446/5.902, allocations: 19.18 MB / 1.438 GB, free: 281.7 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.793e-05/5.902, allocations: 8 kB / 1.438 GB, free: 281.7 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1557) (initialization): time 0.2162/6.118, allocations: 52.52 MB / 1.489 GB, free: 229.1 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.002832/6.121, allocations: 14.47 MB / 1.503 GB, free: 213.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/6.122, allocations: 34.73 kB / 1.503 GB, free: 213.1 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06932/6.191, allocations: 14.18 MB / 1.517 GB, free: 198.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05023/6.241, allocations: 6.342 MB / 1.523 GB, free: 192.5 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1051/6.346, allocations: 43.21 MB / 1.566 GB, free: 149 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04446/6.391, allocations: 4.448 MB / 1.57 GB, free: 144.5 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005095/6.396, allocations: 0.6399 MB / 1.571 GB, free: 143.9 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/6.396, allocations: 4 kB / 1.571 GB, free: 143.9 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.205/6.601, allocations: 49.31 MB / 1.619 GB, free: 94.46 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/6.601, allocations: 35.98 kB / 1.619 GB, free: 94.43 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05093/6.652, allocations: 10.48 MB / 1.629 GB, free: 83.93 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05081/6.703, allocations: 6.394 MB / 1.635 GB, free: 77.53 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07568/6.779, allocations: 32.91 MB / 1.667 GB, free: 44.36 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04361/6.822, allocations: 4.402 MB / 1.672 GB, free: 39.96 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004942/6.827, allocations: 0.6321 MB / 1.672 GB, free: 39.32 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 49 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1310): * Single equations (assignments): 1289 * 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.4%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of prepare postOptimizeDAE: time 0.01277/6.84, allocations: 2.461 MB / 1.675 GB, free: 36.85 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005452/6.846, allocations: 0.8295 MB / 1.676 GB, free: 36.01 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7377/7.583, allocations: 53.63 MB / 1.728 GB, free: 393.7 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001587/7.584, allocations: 114.7 kB / 1.728 GB, free: 393.7 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.34e-05/7.584, allocations: 16.09 kB / 1.728 GB, free: 393.7 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002417/7.584, allocations: 58.25 kB / 1.728 GB, free: 393.7 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3365/7.92, allocations: 118.3 MB / 1.844 GB, free: 309.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001531/7.921, allocations: 4.812 kB / 1.844 GB, free: 309.1 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04824/7.969, allocations: 5.727 MB / 1.849 GB, free: 303.4 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06834/8.037, allocations: 12.98 MB / 1.862 GB, free: 290.5 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004107/8.041, allocations: 427.4 kB / 1.862 GB, free: 290 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09017/8.132, allocations: 40.77 MB / 1.902 GB, free: 249.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.089e-06/8.132, allocations: 7.5 kB / 1.902 GB, free: 249.2 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2932/8.425, allocations: 75.21 MB / 1.976 GB, free: 174.1 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01551/8.44, allocations: 4.139 MB / 1.98 GB, free: 170.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005754/8.446, allocations: 212 kB / 1.98 GB, free: 170.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04223/8.488, allocations: 4.409 MB / 1.984 GB, free: 165.6 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003233/8.492, allocations: 0.7639 MB / 1.985 GB, free: 164.9 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004019/8.496, allocations: 0.5072 MB / 1.985 GB, free: 164.4 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.007438/8.503, allocations: 3.556 MB / 1.989 GB, free: 160.8 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.14e-06/8.503, allocations: 0 / 1.989 GB, free: 160.8 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02899/8.532, allocations: 6.311 MB / 1.995 GB, free: 154.5 MB / 0.9637 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.01308/8.545, allocations: 2.946 MB / 1.998 GB, free: 152.7 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.2644/8.81, allocations: 68.9 MB / 2.065 GB, free: 83.43 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/8.81, allocations: 8.344 kB / 2.065 GB, free: 83.43 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.1117/8.922, allocations: 22.81 MB / 2.087 GB, free: 60.57 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009877/8.932, allocations: 1.313 MB / 2.089 GB, free: 59.27 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1159/9.048, allocations: 39.33 MB / 2.127 GB, free: 19.84 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006873/9.054, allocations: 5.544 MB / 2.133 GB, free: 14.26 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.07676/9.131, allocations: 5.344 MB / 2.138 GB, free: 8.906 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02454/9.156, allocations: 1.127 MB / 2.139 GB, free: 7.777 MB / 0.9637 GB Notification: Performance of SimCode: time 2.824e-06/9.156, allocations: 0 / 2.139 GB, free: 7.777 MB / 0.9637 GB Notification: Performance of Templates: time 1.223/10.38, allocations: 308.6 MB / 2.44 GB, free: 144.8 MB / 0.9637 GB