Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.714/1.714, 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.00102/0.00102, allocations: 184.5 kB / 393.1 MB, free: 4.059 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.345/1.345, allocations: 225.7 MB / 0.6743 GB, free: 12.5 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.0008243/0.0008244, allocations: 96.06 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004297, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5457, allocations: 121.3 MB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.004652/0.5504, allocations: 4.249 MB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1418/0.6923, allocations: 140.6 MB / 1.182 GB, free: 72 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008189/0.6931, allocations: 23.81 kB / 1.182 GB, free: 48 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.6937, allocations: 142.1 kB / 1.182 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.6951, allocations: 485.3 kB / 1.183 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.6972, allocations: 0.8122 MB / 1.184 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.6988, allocations: 1.448 MB / 1.185 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.7002, allocations: 1.084 MB / 1.186 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/0.7009, allocations: 439.2 kB / 1.187 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005714/0.7015, allocations: 483.5 kB / 1.187 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.817e-05/0.7016, allocations: 28 kB / 1.187 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008321/0.7024, allocations: 346.8 kB / 1.187 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.7027, allocations: 238.7 kB / 1.188 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005531/0.7033, allocations: 0.6084 MB / 1.188 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.7057, allocations: 2.085 MB / 1.19 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.7057, allocations: 0 / 1.19 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.296e-06/0.7057, allocations: 4 kB / 1.19 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.188e-05/0.7058, allocations: 0 / 1.19 GB, free: 9.422 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002785/0.7086, allocations: 1.486 MB / 1.192 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7086, allocations: 8.641 kB / 1.192 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.7096, allocations: 249.6 kB / 1.192 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.711, allocations: 0.8959 MB / 1.193 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.7111, allocations: 137.8 kB / 1.193 GB, free: 6.895 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.7113, allocations: 144.7 kB / 1.193 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.7141, allocations: 1.462 MB / 1.195 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.7141, allocations: 0 / 1.195 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.7143, allocations: 64.61 kB / 1.195 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.7143, allocations: 36 kB / 1.195 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.7171, allocations: 1.49 MB / 1.196 GB, free: 4.223 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006855/0.7239, allocations: 3.988 MB / 1.2 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.7255, allocations: 0.9084 MB / 1.201 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.7262, allocations: 364.8 kB / 1.201 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-05/0.7263, allocations: 45.59 kB / 1.201 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.7273, allocations: 0.5457 MB / 1.202 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=93): time 2.735e-06/0.7273, allocations: 0 / 1.202 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=93): time 0.003741/0.7311, allocations: 1.381 MB / 1.203 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.7312, allocations: 193.6 kB / 1.203 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.7325, allocations: 0.7595 MB / 1.204 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.7326, allocations: 41.7 kB / 1.204 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/0.7332, allocations: 0.5756 MB / 1.205 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.7335, allocations: 309.4 kB / 1.205 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.7336, allocations: 20 kB / 1.205 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7337, allocations: 341.5 kB / 1.205 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.7344, allocations: 330.2 kB / 1.206 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/0.7352, allocations: 434.5 kB / 1.206 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.7366, allocations: 0.7707 MB / 1.207 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7366, allocations: 0 / 1.207 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002332/0.7389, allocations: 1.025 MB / 1.208 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.739, allocations: 4 kB / 1.208 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.739, allocations: 12.8 kB / 1.208 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.7396, allocations: 78.61 kB / 1.208 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/0.7405, allocations: 205.3 kB / 1.208 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.7426, allocations: 1.536 MB / 1.21 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.7435, allocations: 120.9 kB / 1.21 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.7436, allocations: 45.89 kB / 1.21 GB, free: 7.758 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0007603/0.7444, allocations: 327.1 kB / 1.21 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.7446, allocations: 99.39 kB / 1.21 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.7476, allocations: 1.287 MB / 1.211 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7476, allocations: 12 kB / 1.211 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7476, allocations: 4 kB / 1.211 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.7476, allocations: 11.91 kB / 1.211 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.7538, allocations: 2.486 MB / 1.214 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.7538, allocations: 0 / 1.214 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.755, allocations: 183.8 kB / 1.214 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007621/0.7558, allocations: 88.72 kB / 1.214 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-05/0.7559, allocations: 23.98 kB / 1.214 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.7586, allocations: 1.556 MB / 1.216 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7586, allocations: 4.062 kB / 1.216 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.762, allocations: 1.117 MB / 1.217 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007874/0.7628, allocations: 343.3 kB / 1.217 GB, free: 152 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.763, allocations: 16 kB / 1.217 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.7641, allocations: 79.94 kB / 1.217 GB, free: 56 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.7644, allocations: 72.94 kB / 1.217 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.7645, allocations: 39.92 kB / 1.217 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001202/0.7657, allocations: 0.5498 MB / 1.218 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7658, allocations: 4 kB / 1.218 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001676/0.7674, allocations: 410.4 kB / 1.218 GB, free: 14.99 MB / 0.7917 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 (107): * Single equations (assignments): 104 * 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.002107/0.7696, allocations: 0.682 MB / 1.219 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.7725, allocations: 0.9602 MB / 1.22 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.7725, allocations: 4 kB / 1.22 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.7739, allocations: 0.5822 MB / 1.22 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.7758, allocations: 283.2 kB / 1.221 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.7829, allocations: 3.038 MB / 1.224 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.784, allocations: 1.17 MB / 1.225 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001653/0.7857, allocations: 295.9 kB / 1.225 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/0.7862, allocations: 123.4 kB / 1.225 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of SimCode: time 7.52e-07/0.7862, allocations: 3.938 kB / 1.225 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of Templates: time 0.02985/0.816, allocations: 16.44 MB / 1.241 GB, free: 7.668 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)