Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.836/1.836, allocations: 306.1 MB / 321.4 MB, free: 10.69 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.001279/0.001279, allocations: 187.2 kB / 393.1 MB, free: 4.066 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.623/1.623, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.0009094/0.0009095, allocations: 90 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6848, allocations: 121.3 MB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007847/0.6927, allocations: 6.7 MB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1695/0.8622, allocations: 143 MB / 1.187 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.8635, allocations: 23.88 kB / 1.187 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007064/0.8642, allocations: 209 kB / 1.187 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.8663, allocations: 0.6387 MB / 1.188 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.869, allocations: 1.001 MB / 1.189 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002688/0.8717, allocations: 2.129 MB / 1.191 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.8741, allocations: 1.609 MB / 1.193 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.8751, allocations: 0.5686 MB / 1.193 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.8762, allocations: 0.6948 MB / 1.194 GB, free: 5.488 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.8763, allocations: 51.94 kB / 1.194 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.8778, allocations: 0.564 MB / 1.194 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.8782, allocations: 345 kB / 1.195 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.879, allocations: 0.7231 MB / 1.195 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003893/0.8829, allocations: 2.485 MB / 1.198 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.8829, allocations: 4 kB / 1.198 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8829, allocations: 0.75 kB / 1.198 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.576e-05/0.883, allocations: 0 / 1.198 GB, free: 2.539 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.004181/0.8872, allocations: 1.741 MB / 1.2 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.8872, allocations: 12.03 kB / 1.2 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006571/0.8938, allocations: 0.9678 MB / 1.201 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.8962, allocations: 1.019 MB / 1.202 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.8963, allocations: 119.2 kB / 1.202 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.8966, allocations: 160.5 kB / 1.202 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005411/0.902, allocations: 2.106 MB / 1.204 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.9021, allocations: 0 / 1.204 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.9023, allocations: 68.69 kB / 1.204 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.9024, allocations: 75.5 kB / 1.204 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00664/0.909, allocations: 2.471 MB / 1.206 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.9205, allocations: 6.494 MB / 1.213 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.9246, allocations: 1.553 MB / 1.214 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.9266, allocations: 0.7598 MB / 1.215 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.9274, allocations: 490.9 kB / 1.215 GB, free: 1.891 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002288/0.9297, allocations: 0.9334 MB / 1.216 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=129): time 4.338e-06/0.9297, allocations: 0 / 1.216 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of matching and sorting (n=129): time 0.006555/0.9363, allocations: 2.252 MB / 1.219 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.9365, allocations: 304 kB / 1.219 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.9379, allocations: 0.8535 MB / 1.22 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.938, allocations: 45.7 kB / 1.22 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006778/0.9387, allocations: 0.6362 MB / 1.22 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.9392, allocations: 429.8 kB / 1.221 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.9393, allocations: 28 kB / 1.221 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9395, allocations: 353.9 kB / 1.221 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.9413, allocations: 0.6116 MB / 1.222 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.9434, allocations: 0.8083 MB / 1.223 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/0.9471, allocations: 1.404 MB / 1.224 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9471, allocations: 8 kB / 1.224 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004534/0.9516, allocations: 1.691 MB / 1.226 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.9518, allocations: 176.7 kB / 1.226 GB, free: 7.062 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.9518, allocations: 4 kB / 1.226 GB, free: 7.059 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.9521, allocations: 36.78 kB / 1.226 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.9539, allocations: 347.5 kB / 1.226 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.9553, allocations: 1.305 MB / 1.227 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.9571, allocations: 203.9 kB / 1.228 GB, free: 5.043 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.9573, allocations: 63.95 kB / 1.228 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.9573, allocations: 4 kB / 1.228 GB, free: 4.977 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004292/0.9616, allocations: 1.549 MB / 1.229 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.9617, allocations: 7.984 kB / 1.229 GB, free: 3.418 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.9617, allocations: 11.94 kB / 1.229 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.9635, allocations: 355.6 kB / 1.229 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.502e-05/0.9636, allocations: 11.98 kB / 1.229 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.9652, allocations: 194.8 kB / 1.23 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.9654, allocations: 59.94 kB / 1.23 GB, free: 2.797 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.9666, allocations: 461.2 kB / 1.23 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.967, allocations: 118.5 kB / 1.23 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/0.9725, allocations: 1.924 MB / 1.232 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.9726, allocations: 20 kB / 1.232 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9726, allocations: 0 / 1.232 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.9726, allocations: 3.984 kB / 1.232 GB, free: 272 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007739/0.9803, allocations: 3.701 MB / 1.236 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.9804, allocations: 7.938 kB / 1.236 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.982, allocations: 315.6 kB / 1.236 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.9822, allocations: 28.84 kB / 1.236 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.9824, allocations: 43.97 kB / 1.236 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000997/0.9834, allocations: 1.28 MB / 1.237 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9834, allocations: 0 / 1.237 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.9878, allocations: 1.755 MB / 1.239 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.9886, allocations: 410.9 kB / 1.24 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.9888, allocations: 24 kB / 1.24 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.9903, allocations: 143.9 kB / 1.24 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/0.9905, allocations: 101.1 kB / 1.24 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.9907, allocations: 51.95 kB / 1.24 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001172/0.9919, allocations: 0.6027 MB / 1.24 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9919, allocations: 4 kB / 1.24 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002722/0.9946, allocations: 0.7667 MB / 1.241 GB, free: 6.762 MB / 0.8073 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/0.9963, allocations: 0.6983 MB / 1.242 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006806/1.003, allocations: 2.517 MB / 1.244 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.003, allocations: 0 / 1.244 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/1.005, allocations: 0.9203 MB / 1.245 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.007, allocations: 321 kB / 1.246 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/1.013, allocations: 3.63 MB / 1.249 GB, free: 14.79 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.015, allocations: 1.265 MB / 1.25 GB, free: 13.49 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002785/1.017, allocations: 0.5251 MB / 1.251 GB, free: 12.96 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/1.018, allocations: 155.3 kB / 1.251 GB, free: 12.81 MB / 0.823 GB Notification: Performance of SimCode: time 8.02e-07/1.018, allocations: 0 / 1.251 GB, free: 12.81 MB / 0.823 GB Notification: Performance of Templates: time 0.03736/1.055, allocations: 20.04 MB / 1.271 GB, free: 8.91 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)