Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7837/0.7837, allocations: 143.8 MB / 159.1 MB, free: 6.496 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.0009356/0.0009357, allocations: 182.3 kB / 192 MB, free: 6.734 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.329/1.329, allocations: 225.7 MB / 450.4 MB, free: 4.98 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.0008009/0.0008011, allocations: 107.5 kB / 0.5211 GB, free: 1.645 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.001632/0.001632, allocations: 281.6 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 11.03 kB / 0.6948 GB, free: 59.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 82.45 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004342/0.1313, allocations: 3.598 MB / 0.7788 GB, free: 10.77 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4478/0.5792, allocations: 140.5 MB / 0.9161 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006741/0.5799, allocations: 14.62 kB / 0.9161 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.5805, allocations: 142.2 kB / 0.9162 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.582, allocations: 404.7 kB / 0.9166 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.584, allocations: 0.7 MB / 0.9173 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.5854, allocations: 1.12 MB / 0.9184 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.5862, allocations: 0.6518 MB / 0.919 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.5868, allocations: 314.3 kB / 0.9193 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.5872, allocations: 346.6 kB / 0.9196 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.5873, allocations: 21.97 kB / 0.9197 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008219/0.5881, allocations: 365 kB / 0.92 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.5883, allocations: 175.2 kB / 0.9202 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.5887, allocations: 439.7 kB / 0.9206 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.5901, allocations: 1.442 MB / 0.922 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5901, allocations: 0 / 0.922 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5901, allocations: 0 / 0.922 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.5901, allocations: 1.094 kB / 0.922 GB, free: 10.98 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001814/0.5919, allocations: 1.17 MB / 0.9231 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.592, allocations: 9.125 kB / 0.9232 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.593, allocations: 221.2 kB / 0.9234 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.594, allocations: 0.7298 MB / 0.9241 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.5941, allocations: 69.73 kB / 0.9241 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.5942, allocations: 85.62 kB / 0.9242 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5958, allocations: 0.9451 MB / 0.9252 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.5958, allocations: 1.219 kB / 0.9252 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.5959, allocations: 39.66 kB / 0.9252 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.5959, allocations: 21.34 kB / 0.9252 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.5977, allocations: 1.124 MB / 0.9263 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.6013, allocations: 2.6 MB / 0.9288 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.6027, allocations: 0.8238 MB / 0.9297 GB, free: 8.688 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.6032, allocations: 287.6 kB / 0.9299 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.6039, allocations: 479.7 kB / 0.9304 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008926/0.6048, allocations: 430.6 kB / 0.9308 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=73): time 3.657e-06/0.6048, allocations: 3.984 kB / 0.9308 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73): time 0.002717/0.6075, allocations: 1.11 MB / 0.9319 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.6076, allocations: 190.7 kB / 0.9321 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.6082, allocations: 0.5929 MB / 0.9326 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.6083, allocations: 41.14 kB / 0.9327 GB, free: 7.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.6086, allocations: 417.1 kB / 0.9331 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.6087, allocations: 237.6 kB / 0.9333 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.6088, allocations: 11.84 kB / 0.9333 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6089, allocations: 387.3 kB / 0.9337 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.6094, allocations: 245.5 kB / 0.9339 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.6099, allocations: 334.7 kB / 0.9342 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009251/0.6109, allocations: 0.5738 MB / 0.9348 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6109, allocations: 0 / 0.9348 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0016/0.6125, allocations: 0.7975 MB / 0.9356 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6125, allocations: 7.516 kB / 0.9356 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6125, allocations: 1.344 kB / 0.9356 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.6131, allocations: 84.45 kB / 0.9357 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.6137, allocations: 152.9 kB / 0.9358 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.6155, allocations: 1.519 MB / 0.9373 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.6161, allocations: 90.55 kB / 0.9374 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.6162, allocations: 39.97 kB / 0.9374 GB, free: 4.465 MB / 0.5573 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 (84): * Single equations (assignments): 83 * 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.000339/0.6166, allocations: 255.9 kB / 0.9377 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.6167, allocations: 82.19 kB / 0.9377 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.6188, allocations: 1.001 MB / 0.9387 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.6188, allocations: 8.438 kB / 0.9387 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6188, allocations: 0 / 0.9387 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6188, allocations: 3.984 kB / 0.9387 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/0.6218, allocations: 1.903 MB / 0.9406 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6218, allocations: 0 / 0.9406 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.6224, allocations: 152.1 kB / 0.9407 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/0.6229, allocations: 86.81 kB / 0.9408 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.6229, allocations: 23.08 kB / 0.9408 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.6246, allocations: 1.537 MB / 0.9423 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6246, allocations: 0 / 0.9423 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.6264, allocations: 0.9311 MB / 0.9433 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.6267, allocations: 267 kB / 0.9435 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.6268, allocations: 22.61 kB / 0.9435 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.6274, allocations: 67.64 kB / 0.9436 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.6276, allocations: 68.5 kB / 0.9437 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/0.6276, allocations: 32.77 kB / 0.9437 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004706/0.6281, allocations: 436 kB / 0.9441 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.954e-06/0.6281, allocations: 0 / 0.9441 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008762/0.629, allocations: 325.3 kB / 0.9444 GB, free: 1.031 MB / 0.5573 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 (84): * Single equations (assignments): 81 * 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.001345/0.6303, allocations: 0.6911 MB / 0.9451 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6317, allocations: 0.7716 MB / 0.9458 GB, free: 472 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6317, allocations: 4 kB / 0.9458 GB, free: 468 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.6325, allocations: 497.1 kB / 0.9463 GB, free: 284 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.6336, allocations: 256.3 kB / 0.9466 GB, free: 220 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.6371, allocations: 2.206 MB / 0.9487 GB, free: 14.93 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.6377, allocations: 1.026 MB / 0.9497 GB, free: 14.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007872/0.6385, allocations: 259.5 kB / 0.95 GB, free: 13.97 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.6387, allocations: 94.02 kB / 0.9501 GB, free: 13.96 MB / 0.573 GB Notification: Performance of SimCode: time 5.92e-07/0.6387, allocations: 0 / 0.9501 GB, free: 13.96 MB / 0.573 GB Notification: Performance of Templates: time 0.02026/0.659, allocations: 13.63 MB / 0.9634 GB, free: 7.121 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)