Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.855/1.855, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.00111/0.00111, allocations: 180.3 kB / 393.1 MB, free: 4.074 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.494/1.494, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00087/0.00087, allocations: 98.98 kB / 0.7935 GB, free: 40.03 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 8 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.6241, allocations: 121.3 MB / 1.041 GB, free: 58.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01083/0.635, allocations: 9.776 MB / 1.05 GB, free: 51.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.817, allocations: 144.5 MB / 1.192 GB, free: 7.207 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.8196, allocations: 31.88 kB / 1.192 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.8207, allocations: 239.8 kB / 1.192 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/0.8248, allocations: 0.8227 MB / 1.193 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004482/0.8293, allocations: 1.427 MB / 1.194 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004996/0.8343, allocations: 3.022 MB / 1.197 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00522/0.8395, allocations: 3.366 MB / 1.2 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.8414, allocations: 0.8339 MB / 1.201 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.8434, allocations: 1.022 MB / 1.202 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.8437, allocations: 68 kB / 1.202 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.8457, allocations: 0.6577 MB / 1.203 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006523/0.8464, allocations: 483.9 kB / 1.203 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.8477, allocations: 1.073 MB / 1.204 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006699/0.8545, allocations: 3.96 MB / 1.208 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8545, allocations: 0 / 1.208 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8545, allocations: 3.938 kB / 1.208 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001274/0.8547, allocations: 0 / 1.208 GB, free: 9.535 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 675 * Number of variables: 675 Notification: Performance of Generate backend data structure: time 0.00764/0.8623, allocations: 2.389 MB / 1.21 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.8624, allocations: 12.03 kB / 1.21 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.8742, allocations: 1.722 MB / 1.212 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.8782, allocations: 1.451 MB / 1.214 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.8784, allocations: 189.2 kB / 1.214 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005122/0.8789, allocations: 256 kB / 1.214 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008432/0.8874, allocations: 3.531 MB / 1.217 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/0.8875, allocations: 4 kB / 1.217 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.8877, allocations: 115.9 kB / 1.218 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001221/0.8879, allocations: 116.8 kB / 1.218 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.8989, allocations: 4.056 MB / 1.222 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01909/0.918, allocations: 10.27 MB / 1.232 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006803/0.9249, allocations: 2.668 MB / 1.234 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003329/0.9283, allocations: 1.308 MB / 1.236 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000876/0.9292, allocations: 0.5904 MB / 1.236 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003855/0.933, allocations: 1.565 MB / 1.238 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=196): time 4.428e-06/0.9331, allocations: 0 / 1.238 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=197): time 0.01122/0.9443, allocations: 4.418 MB / 1.242 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.9445, allocations: 257.3 kB / 1.242 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.9461, allocations: 1.125 MB / 1.243 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.9463, allocations: 61.7 kB / 1.243 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.947, allocations: 0.9406 MB / 1.244 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006102/0.9477, allocations: 0.6468 MB / 1.245 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.9478, allocations: 36 kB / 1.245 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.948, allocations: 377.9 kB / 1.245 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.9511, allocations: 1.124 MB / 1.246 GB, free: 1.508 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.9545, allocations: 1.413 MB / 1.248 GB, free: 8 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006279/0.9608, allocations: 2.527 MB / 1.25 GB, free: 13.41 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9608, allocations: 7.938 kB / 1.25 GB, free: 13.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007745/0.9685, allocations: 2.866 MB / 1.253 GB, free: 10.53 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.9688, allocations: 253.3 kB / 1.253 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.9688, allocations: 12 kB / 1.253 GB, free: 10.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.9689, allocations: 12 kB / 1.253 GB, free: 10.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/0.972, allocations: 0.5695 MB / 1.254 GB, free: 9.613 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/0.972, allocations: 19.94 kB / 1.254 GB, free: 9.594 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.9746, allocations: 290.6 kB / 1.254 GB, free: 9.309 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.9749, allocations: 95.91 kB / 1.254 GB, free: 9.215 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.9749, allocations: 4 kB / 1.254 GB, free: 9.211 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007061/0.982, allocations: 2.647 MB / 1.257 GB, free: 6.562 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.982, allocations: 12.12 kB / 1.257 GB, free: 6.551 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.982, allocations: 16 kB / 1.257 GB, free: 6.535 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/0.9851, allocations: 0.5539 MB / 1.257 GB, free: 5.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/0.9852, allocations: 23.86 kB / 1.257 GB, free: 5.957 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.9876, allocations: 278.6 kB / 1.258 GB, free: 5.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/0.988, allocations: 99.91 kB / 1.258 GB, free: 5.586 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 239 * 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 0.001595/0.9896, allocations: 0.5826 MB / 1.258 GB, free: 4.996 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/0.9902, allocations: 165.9 kB / 1.259 GB, free: 4.832 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009042/0.9992, allocations: 3.209 MB / 1.262 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/0.9993, allocations: 31.88 kB / 1.262 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.9993, allocations: 0 / 1.262 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.9993, allocations: 11.95 kB / 1.262 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.012, allocations: 6.025 MB / 1.268 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.012, allocations: 0 / 1.268 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/1.015, allocations: 0.5267 MB / 1.268 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.495e-05/1.015, allocations: 8 kB / 1.268 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002514/1.015, allocations: 59.94 kB / 1.268 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/1.015, allocations: 15.92 kB / 1.268 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.015, allocations: 4 kB / 1.268 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007612/1.023, allocations: 2.927 MB / 1.271 GB, free: 7.883 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.024, allocations: 0.5839 MB / 1.272 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005749/1.025, allocations: 36 kB / 1.272 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/1.027, allocations: 233.7 kB / 1.272 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/1.028, allocations: 121.8 kB / 1.272 GB, free: 6.898 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.028, allocations: 83.94 kB / 1.272 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00171/1.03, allocations: 0.7992 MB / 1.273 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.03, allocations: 0 / 1.273 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004021/1.034, allocations: 0.8203 MB / 1.274 GB, free: 5.195 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002016/1.036, allocations: 0.7272 MB / 1.274 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.047, allocations: 4.185 MB / 1.278 GB, free: 468 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.047, allocations: 0 / 1.278 GB, free: 468 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003853/1.051, allocations: 1.405 MB / 1.28 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.054, allocations: 422.8 kB / 1.28 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.065, allocations: 5.638 MB / 1.286 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/1.066, allocations: 1.564 MB / 1.287 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004382/1.07, allocations: 0.7752 MB / 1.288 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008763/1.071, allocations: 219.3 kB / 1.288 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/1.071, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of Templates: time 0.05199/1.123, allocations: 28.2 MB / 1.316 GB, free: 10.33 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)