Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.828/1.828, 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.002146/0.002146, allocations: 175.5 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.511/1.511, allocations: 225.7 MB / 0.6743 GB, free: 12.57 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.0008925/0.0008927, allocations: 100.8 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 8 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6692/0.6695, allocations: 121.3 MB / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.009637/0.6792, allocations: 7.17 MB / 1.048 GB, free: 53.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.8529, allocations: 143.1 MB / 1.188 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.8547, allocations: 27.88 kB / 1.188 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.8558, allocations: 215.1 kB / 1.188 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.8589, allocations: 0.6622 MB / 1.189 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.8622, allocations: 1.05 MB / 1.19 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003472/0.8656, allocations: 2.26 MB / 1.192 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.8685, allocations: 1.76 MB / 1.193 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.8698, allocations: 0.6004 MB / 1.194 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.871, allocations: 0.714 MB / 1.195 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.8712, allocations: 48 kB / 1.195 GB, free: 4.43 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.8727, allocations: 0.5717 MB / 1.195 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.8731, allocations: 346.3 kB / 1.196 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007882/0.8739, allocations: 0.7762 MB / 1.196 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004/0.8779, allocations: 2.817 MB / 1.199 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.8779, allocations: 0 / 1.199 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8779, allocations: 7.938 kB / 1.199 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.127e-05/0.878, allocations: 0 / 1.199 GB, free: 1.336 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.004478/0.8825, allocations: 1.795 MB / 1.201 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.8825, allocations: 8.031 kB / 1.201 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/0.8889, allocations: 0.9759 MB / 1.202 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.8912, allocations: 1.123 MB / 1.203 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.8914, allocations: 128 kB / 1.203 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.8916, allocations: 171.9 kB / 1.203 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005882/0.8975, allocations: 2.234 MB / 1.205 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.8976, allocations: 4 kB / 1.205 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/0.8978, allocations: 72.84 kB / 1.206 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.8979, allocations: 83.94 kB / 1.206 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00759/0.9055, allocations: 2.59 MB / 1.208 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.9181, allocations: 7.126 MB / 1.215 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.9223, allocations: 1.598 MB / 1.217 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.9244, allocations: 0.7795 MB / 1.217 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/0.9251, allocations: 490.7 kB / 1.218 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002317/0.9274, allocations: 0.9491 MB / 1.219 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=129): time 4.038e-06/0.9275, allocations: 0 / 1.219 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=129): time 0.006415/0.9339, allocations: 2.291 MB / 1.221 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.9341, allocations: 308 kB / 1.221 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.9358, allocations: 0.875 MB / 1.222 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/0.936, allocations: 49.7 kB / 1.222 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006997/0.9367, allocations: 0.6751 MB / 1.223 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.9372, allocations: 433.7 kB / 1.223 GB, free: 9.598 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.9373, allocations: 24 kB / 1.223 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.9375, allocations: 353.9 kB / 1.224 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.9393, allocations: 0.6389 MB / 1.224 GB, free: 8.582 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.9414, allocations: 0.8239 MB / 1.225 GB, free: 7.711 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.9451, allocations: 1.442 MB / 1.227 GB, free: 6.23 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.9451, allocations: 0 / 1.227 GB, free: 6.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004665/0.9498, allocations: 1.715 MB / 1.228 GB, free: 4.504 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.95, allocations: 180.5 kB / 1.228 GB, free: 4.285 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.95, allocations: 4 kB / 1.228 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.9503, allocations: 36.84 kB / 1.228 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.9522, allocations: 347.4 kB / 1.229 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.9535, allocations: 1.293 MB / 1.23 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.9554, allocations: 207.8 kB / 1.23 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.9556, allocations: 59.95 kB / 1.23 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.9557, allocations: 7.984 kB / 1.23 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004552/0.9602, allocations: 1.577 MB / 1.232 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.9603, allocations: 0 / 1.232 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.9603, allocations: 8 kB / 1.232 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.9625, allocations: 347.7 kB / 1.232 GB, free: 288 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.758e-05/0.9626, allocations: 8 kB / 1.232 GB, free: 280 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.9647, allocations: 206.7 kB / 1.232 GB, free: 72 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.9649, allocations: 55.95 kB / 1.232 GB, free: 16 kB / 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.001304/0.9662, allocations: 487.5 kB / 1.233 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.9666, allocations: 130.4 kB / 1.233 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/0.9724, allocations: 1.937 MB / 1.235 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.9725, allocations: 12 kB / 1.235 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.9725, allocations: 7.984 kB / 1.235 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.9725, allocations: 7.969 kB / 1.235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.9803, allocations: 3.919 MB / 1.239 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.9804, allocations: 4 kB / 1.239 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.9821, allocations: 319.7 kB / 1.239 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/0.9822, allocations: 20.84 kB / 1.239 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/0.9824, allocations: 47.95 kB / 1.239 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.9834, allocations: 1.276 MB / 1.24 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9835, allocations: 3.984 kB / 1.24 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.9879, allocations: 1.79 MB / 1.242 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008611/0.9888, allocations: 434.9 kB / 1.243 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.9891, allocations: 28 kB / 1.243 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.9906, allocations: 143.9 kB / 1.243 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.9908, allocations: 89.19 kB / 1.243 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.9909, allocations: 63.83 kB / 1.243 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001102/0.992, allocations: 0.6027 MB / 1.243 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.6e-07/0.992, allocations: 4 kB / 1.243 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00251/0.9946, allocations: 0.7823 MB / 1.244 GB, free: 3.637 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.001666/0.9962, allocations: 0.7134 MB / 1.245 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006412/1.003, allocations: 2.564 MB / 1.247 GB, free: 0.5156 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.003, allocations: 0 / 1.247 GB, free: 0.5156 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.005, allocations: 0.9553 MB / 1.248 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/1.007, allocations: 332.4 kB / 1.249 GB, free: 15.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/1.013, allocations: 3.767 MB / 1.252 GB, free: 11.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.015, allocations: 1.286 MB / 1.254 GB, free: 10.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003763/1.019, allocations: 0.529 MB / 1.254 GB, free: 9.566 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000804/1.019, allocations: 155.3 kB / 1.254 GB, free: 9.414 MB / 0.823 GB Notification: Performance of SimCode: time 1.152e-06/1.019, allocations: 0 / 1.254 GB, free: 9.414 MB / 0.823 GB Notification: Performance of Templates: time 0.04145/1.061, allocations: 19.89 MB / 1.274 GB, free: 5.668 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)