Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.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.948/1.948, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001497/0.001497, allocations: 171.3 kB / 393.1 MB, free: 4.059 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.645/1.645, 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.001067/0.001067, allocations: 98.59 kB / 0.7935 GB, free: 40.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 8 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.7357, allocations: 121.3 MB / 1.041 GB, free: 59.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.009651/0.7454, allocations: 8.388 MB / 1.049 GB, free: 53.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1928/0.9382, allocations: 144.5 MB / 1.19 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.9411, allocations: 35.81 kB / 1.19 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.9429, allocations: 244 kB / 1.19 GB, free: 8.398 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.9477, allocations: 0.8279 MB / 1.191 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005419/0.9532, allocations: 1.424 MB / 1.193 GB, free: 6.555 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006042/0.9592, allocations: 3.034 MB / 1.196 GB, free: 3.918 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007475/0.9667, allocations: 3.35 MB / 1.199 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.9693, allocations: 0.8386 MB / 1.2 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.9721, allocations: 1.018 MB / 1.201 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0008682/0.973, allocations: 64 kB / 1.201 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.9761, allocations: 0.6618 MB / 1.201 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.9779, allocations: 495.8 kB / 1.202 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003265/0.9812, allocations: 1.069 MB / 1.203 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.9899, allocations: 3.961 MB / 1.207 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9899, allocations: 0 / 1.207 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.587e-06/0.9899, allocations: 0.6562 kB / 1.207 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002386/0.9902, allocations: 0 / 1.207 GB, free: 10.93 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.008727/0.9989, allocations: 2.394 MB / 1.209 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.999, allocations: 12.03 kB / 1.209 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/1.01, allocations: 1.722 MB / 1.211 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/1.014, allocations: 1.443 MB / 1.212 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.014, allocations: 193.2 kB / 1.212 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005526/1.015, allocations: 252 kB / 1.213 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008932/1.024, allocations: 3.535 MB / 1.216 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/1.024, allocations: 4 kB / 1.216 GB, free: 1.184 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003057/1.024, allocations: 112 kB / 1.216 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/1.024, allocations: 128.8 kB / 1.216 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/1.036, allocations: 4.047 MB / 1.22 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01882/1.054, allocations: 10.27 MB / 1.23 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006999/1.061, allocations: 2.672 MB / 1.233 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003361/1.065, allocations: 1.312 MB / 1.234 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008253/1.066, allocations: 0.5825 MB / 1.235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003946/1.07, allocations: 1.569 MB / 1.236 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=196): time 4.729e-06/1.07, allocations: 0 / 1.236 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=197): time 0.01206/1.082, allocations: 4.417 MB / 1.241 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/1.082, allocations: 257.3 kB / 1.241 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.084, allocations: 1.125 MB / 1.242 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002437/1.084, allocations: 57.7 kB / 1.242 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009472/1.085, allocations: 0.9406 MB / 1.243 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007414/1.086, allocations: 0.6429 MB / 1.244 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/1.086, allocations: 40 kB / 1.244 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.087, allocations: 377.9 kB / 1.244 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/1.09, allocations: 1.12 MB / 1.245 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003614/1.094, allocations: 1.413 MB / 1.246 GB, free: 1.406 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006841/1.1, allocations: 2.534 MB / 1.249 GB, free: 14.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.1, allocations: 0 / 1.249 GB, free: 14.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007952/1.108, allocations: 2.87 MB / 1.252 GB, free: 11.92 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/1.109, allocations: 257.1 kB / 1.252 GB, free: 11.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/1.109, allocations: 4 kB / 1.252 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.29e-05/1.109, allocations: 16 kB / 1.252 GB, free: 11.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/1.112, allocations: 0.5694 MB / 1.253 GB, free: 11.01 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.427e-05/1.112, allocations: 15.98 kB / 1.253 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.115, allocations: 282.7 kB / 1.253 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/1.115, allocations: 103.9 kB / 1.253 GB, free: 10.61 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.115, allocations: 4 kB / 1.253 GB, free: 10.61 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007574/1.123, allocations: 2.643 MB / 1.255 GB, free: 7.965 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.123, allocations: 8.531 kB / 1.256 GB, free: 7.957 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/1.123, allocations: 15.98 kB / 1.256 GB, free: 7.941 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/1.126, allocations: 0.5616 MB / 1.256 GB, free: 7.379 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.59e-05/1.126, allocations: 19.95 kB / 1.256 GB, free: 7.359 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/1.128, allocations: 275.7 kB / 1.256 GB, free: 7.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/1.129, allocations: 99.91 kB / 1.256 GB, free: 6.992 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.001466/1.13, allocations: 0.5862 MB / 1.257 GB, free: 6.398 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004294/1.131, allocations: 181.8 kB / 1.257 GB, free: 6.219 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009192/1.14, allocations: 3.209 MB / 1.26 GB, free: 2.992 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/1.14, allocations: 23.94 kB / 1.26 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.14, allocations: 0 / 1.26 GB, free: 2.969 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/1.14, allocations: 11.95 kB / 1.26 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/1.154, allocations: 6.017 MB / 1.266 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.154, allocations: 4 kB / 1.266 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/1.158, allocations: 0.5344 MB / 1.267 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.43e-05/1.158, allocations: 8 kB / 1.267 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.158, allocations: 55.95 kB / 1.267 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-05/1.158, allocations: 11.98 kB / 1.267 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.158, allocations: 0 / 1.267 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008317/1.166, allocations: 2.934 MB / 1.27 GB, free: 9.277 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.168, allocations: 0.58 MB / 1.27 GB, free: 8.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006355/1.169, allocations: 40 kB / 1.27 GB, free: 8.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.171, allocations: 230.2 kB / 1.271 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/1.172, allocations: 125.8 kB / 1.271 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/1.172, allocations: 71.94 kB / 1.271 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001849/1.174, allocations: 0.8109 MB / 1.272 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.174, allocations: 0 / 1.272 GB, free: 7.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003695/1.178, allocations: 0.8201 MB / 1.272 GB, free: 6.59 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.001937/1.18, allocations: 0.7141 MB / 1.273 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.191, allocations: 4.188 MB / 1.277 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.191, allocations: 0 / 1.277 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003926/1.195, allocations: 1.417 MB / 1.278 GB, free: 456 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.198, allocations: 410.8 kB / 1.279 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.21, allocations: 5.63 MB / 1.284 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/1.213, allocations: 1.565 MB / 1.286 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005872/1.219, allocations: 0.7829 MB / 1.287 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.22, allocations: 219.2 kB / 1.287 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of SimCode: time 1.663e-06/1.22, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of Templates: time 0.05479/1.275, allocations: 28.23 MB / 1.314 GB, free: 11.71 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)