Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.842/1.842, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.0009933/0.0009933, allocations: 183.5 kB / 393.1 MB, free: 4.031 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.409/1.409, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.0007824/0.0007824, allocations: 105.8 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 8 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.573/0.5734, allocations: 121.3 MB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.003884/0.5773, allocations: 3.599 MB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.7591, allocations: 140.3 MB / 1.181 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006848/0.7599, allocations: 15.94 kB / 1.181 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.7604, allocations: 140.1 kB / 1.182 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.7617, allocations: 396.1 kB / 1.182 GB, free: 480 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.7634, allocations: 0.7029 MB / 1.183 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.7647, allocations: 1.117 MB / 1.184 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009615/0.7657, allocations: 0.6704 MB / 1.184 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005405/0.7662, allocations: 316.7 kB / 1.185 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005012/0.7668, allocations: 346.6 kB / 1.185 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.7669, allocations: 20 kB / 1.185 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007497/0.7676, allocations: 351.3 kB / 1.185 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.7679, allocations: 178.1 kB / 1.186 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004623/0.7683, allocations: 437 kB / 1.186 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.7703, allocations: 1.44 MB / 1.187 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.7703, allocations: 0 / 1.187 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7703, allocations: 4 kB / 1.187 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.125e-05/0.7704, allocations: 0 / 1.187 GB, free: 11.93 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002476/0.7729, allocations: 1.178 MB / 1.189 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.7729, allocations: 12.03 kB / 1.189 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.7746, allocations: 303.3 kB / 1.189 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.7758, allocations: 0.7265 MB / 1.19 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.7758, allocations: 74.66 kB / 1.19 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.776, allocations: 87.98 kB / 1.19 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.778, allocations: 1.009 MB / 1.191 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.7781, allocations: 0 / 1.191 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.7782, allocations: 36 kB / 1.191 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.7782, allocations: 27.94 kB / 1.191 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.7807, allocations: 1.224 MB / 1.192 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/0.7856, allocations: 2.603 MB / 1.194 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.7881, allocations: 0.9416 MB / 1.195 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.7889, allocations: 331.8 kB / 1.196 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/0.789, allocations: 34.98 kB / 1.196 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.7901, allocations: 491 kB / 1.196 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=75): time 3.346e-06/0.7901, allocations: 0 / 1.196 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of matching and sorting (n=75): time 0.003571/0.7937, allocations: 1.242 MB / 1.197 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.7938, allocations: 189.1 kB / 1.198 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008239/0.7946, allocations: 0.5966 MB / 1.198 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.7947, allocations: 41.7 kB / 1.198 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.795, allocations: 400.5 kB / 1.199 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.7953, allocations: 254.5 kB / 1.199 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.7953, allocations: 16 kB / 1.199 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7955, allocations: 380.8 kB / 1.199 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.7962, allocations: 292.1 kB / 1.2 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.797, allocations: 389.3 kB / 1.2 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.7985, allocations: 0.6578 MB / 1.201 GB, free: 224 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7985, allocations: 0 / 1.201 GB, free: 224 kB / 0.7605 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002219/0.8007, allocations: 0.878 MB / 1.201 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8008, allocations: 8 kB / 1.201 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8008, allocations: 4.094 kB / 1.201 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.8014, allocations: 82.83 kB / 1.201 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.8022, allocations: 182.2 kB / 1.202 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.8041, allocations: 1.519 MB / 1.203 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.8049, allocations: 109 kB / 1.203 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/0.805, allocations: 35.31 kB / 1.203 GB, free: 13.51 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (86): * Single equations (assignments): 85 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004544/0.8055, allocations: 255 kB / 1.204 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.8056, allocations: 79 kB / 1.204 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.8084, allocations: 1.114 MB / 1.205 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.8085, allocations: 8 kB / 1.205 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8085, allocations: 0 / 1.205 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.8085, allocations: 4.219 kB / 1.205 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.8125, allocations: 2.044 MB / 1.207 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.8125, allocations: 3.938 kB / 1.207 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.8133, allocations: 173.2 kB / 1.207 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/0.8138, allocations: 83.12 kB / 1.207 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.327e-05/0.8139, allocations: 24.41 kB / 1.207 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.8157, allocations: 1.545 MB / 1.208 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8157, allocations: 0 / 1.208 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.8181, allocations: 1.029 MB / 1.209 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.8186, allocations: 279.5 kB / 1.21 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.8187, allocations: 20.55 kB / 1.21 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/0.8195, allocations: 84.88 kB / 1.21 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.8196, allocations: 64.11 kB / 1.21 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/0.8197, allocations: 32.55 kB / 1.21 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006268/0.8203, allocations: 431.4 kB / 1.21 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8203, allocations: 0 / 1.21 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009036/0.8212, allocations: 305.8 kB / 1.211 GB, free: 6.676 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (88): * Single equations (assignments): 85 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/0.8226, allocations: 0.6761 MB / 1.211 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.8247, allocations: 0.8713 MB / 1.212 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8247, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.8258, allocations: 0.5434 MB / 1.213 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.8269, allocations: 257.7 kB / 1.213 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.831, allocations: 2.278 MB / 1.215 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.8317, allocations: 1.023 MB / 1.216 GB, free: 1.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0009261/0.8326, allocations: 274.2 kB / 1.216 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.8329, allocations: 99.39 kB / 1.217 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of SimCode: time 3.9e-07/0.8329, allocations: 0 / 1.217 GB, free: 0.9492 MB / 0.7761 GB Notification: Performance of Templates: time 0.02281/0.8557, allocations: 13.79 MB / 1.23 GB, free: 3.289 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)