Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7442/0.7442, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.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.0009571/0.0009573, allocations: 171.3 kB / 192 MB, free: 6.723 MB / 154.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.345/1.345, allocations: 225.7 MB / 450.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007996, allocations: 111.5 kB / 0.5211 GB, free: 3.32 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 273.5 kB / 0.6025 GB, free: 49.53 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004295, allocations: 12 kB / 0.6948 GB, free: 2.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 82.44 MB / 0.7753 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003093/0.3284, allocations: 3.192 MB / 0.7784 GB, free: 23.77 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004302/0.3327, allocations: 4.973 MB / 0.7833 GB, free: 18.38 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/0.333, allocations: 11.94 kB / 0.7833 GB, free: 18.37 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.3334, allocations: 103.3 kB / 0.7834 GB, free: 18.27 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009449/0.3343, allocations: 362.3 kB / 0.7837 GB, free: 17.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.335, allocations: 335.5 kB / 0.784 GB, free: 17.59 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004558/0.3354, allocations: 0.6941 MB / 0.7847 GB, free: 16.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.3357, allocations: 193.2 kB / 0.7849 GB, free: 16.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.3359, allocations: 250.8 kB / 0.7851 GB, free: 16.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.3363, allocations: 263.5 kB / 0.7854 GB, free: 16.19 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.3363, allocations: 20 kB / 0.7854 GB, free: 16.17 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.337, allocations: 451.4 kB / 0.7858 GB, free: 15.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3371, allocations: 123.4 kB / 0.786 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3373, allocations: 288.1 kB / 0.7862 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007943/0.3381, allocations: 1.012 MB / 0.7872 GB, free: 14.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3381, allocations: 0 / 0.7872 GB, free: 14.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3381, allocations: 0 / 0.7872 GB, free: 14.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3382, allocations: 0 / 0.7872 GB, free: 14.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001436/0.3396, allocations: 0.863 MB / 0.7881 GB, free: 13.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3396, allocations: 12.03 kB / 0.7881 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.3423, allocations: 0.5776 MB / 0.7886 GB, free: 12.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.3434, allocations: 0.6274 MB / 0.7893 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.3436, allocations: 118.7 kB / 0.7894 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.3436, allocations: 51.94 kB / 0.7894 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3448, allocations: 0.648 MB / 0.79 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3448, allocations: 7.984 kB / 0.7901 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.3449, allocations: 20 kB / 0.7901 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3449, allocations: 8 kB / 0.7901 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.3462, allocations: 0.6947 MB / 0.7908 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.3489, allocations: 1.777 MB / 0.7925 GB, free: 8.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.3512, allocations: 0.8055 MB / 0.7933 GB, free: 7.902 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.3518, allocations: 330 kB / 0.7936 GB, free: 7.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/0.3531, allocations: 1.761 MB / 0.7953 GB, free: 5.426 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007363/0.3539, allocations: 409.1 kB / 0.7957 GB, free: 5.012 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.815e-06/0.3539, allocations: 0 / 0.7957 GB, free: 5.012 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.002007/0.3559, allocations: 0.9278 MB / 0.7966 GB, free: 4.082 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3559, allocations: 111.2 kB / 0.7967 GB, free: 3.949 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.3563, allocations: 415.1 kB / 0.7971 GB, free: 3.543 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.3564, allocations: 37.7 kB / 0.7972 GB, free: 3.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.3565, allocations: 272.6 kB / 0.7974 GB, free: 3.227 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3566, allocations: 177.3 kB / 0.7976 GB, free: 3.051 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.3567, allocations: 12 kB / 0.7976 GB, free: 3.039 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.3567, allocations: 366.7 kB / 0.7979 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.3573, allocations: 272.9 kB / 0.7982 GB, free: 2.402 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.358, allocations: 416.5 kB / 0.7986 GB, free: 1.949 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.3592, allocations: 0.6633 MB / 0.7992 GB, free: 1.242 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3592, allocations: 8 kB / 0.7993 GB, free: 1.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001463/0.3607, allocations: 0.7637 MB / 0.8 GB, free: 472 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3607, allocations: 8 kB / 0.8 GB, free: 464 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3607, allocations: 7.938 kB / 0.8 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3608, allocations: 4 kB / 0.8 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.3622, allocations: 251.9 kB / 0.8003 GB, free: 200 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.3637, allocations: 1.475 MB / 0.8017 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.3644, allocations: 95.56 kB / 0.8018 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.3645, allocations: 27.98 kB / 0.8018 GB, free: 14.46 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003914/0.3649, allocations: 210.4 kB / 0.802 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.3649, allocations: 51.34 kB / 0.8021 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.3675, allocations: 0.9385 MB / 0.803 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3675, allocations: 4 kB / 0.803 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3675, allocations: 4 kB / 0.803 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3675, allocations: 3.984 kB / 0.803 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.3708, allocations: 1.614 MB / 0.8046 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3708, allocations: 4 kB / 0.8046 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.3716, allocations: 139.8 kB / 0.8047 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.3721, allocations: 64.73 kB / 0.8048 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.3721, allocations: 31.97 kB / 0.8048 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.3737, allocations: 1.469 MB / 0.8062 GB, free: 9.711 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3737, allocations: 7.922 kB / 0.8062 GB, free: 9.703 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.3757, allocations: 0.9057 MB / 0.8071 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.376, allocations: 204.2 kB / 0.8073 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.3761, allocations: 15.98 kB / 0.8073 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.3767, allocations: 59.94 kB / 0.8074 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3768, allocations: 44.5 kB / 0.8074 GB, free: 8.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.3769, allocations: 23.98 kB / 0.8075 GB, free: 8.418 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003423/0.3772, allocations: 283.1 kB / 0.8077 GB, free: 8.141 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3772, allocations: 0 / 0.8077 GB, free: 8.141 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007298/0.378, allocations: 235.6 kB / 0.808 GB, free: 7.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.3791, allocations: 0.5629 MB / 0.8085 GB, free: 7.469 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.3815, allocations: 0.7652 MB / 0.8093 GB, free: 6.707 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3815, allocations: 0 / 0.8093 GB, free: 6.707 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009908/0.3825, allocations: 0.4981 MB / 0.8097 GB, free: 6.191 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.383, allocations: 65.88 kB / 0.8098 GB, free: 6.129 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.3853, allocations: 1.506 MB / 0.8113 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3857, allocations: 0.8736 MB / 0.8121 GB, free: 3.699 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000703/0.3864, allocations: 148.5 kB / 0.8123 GB, free: 3.555 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.3866, allocations: 75.33 kB / 0.8123 GB, free: 3.48 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3866, allocations: 0 / 0.8123 GB, free: 3.48 MB / 474.7 MB Notification: Performance of Templates: time 0.01445/0.4011, allocations: 8.34 MB / 0.8205 GB, free: 11.17 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1)