Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.724/1.724, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001241/0.001241, allocations: 171.3 kB / 393.1 MB, free: 4.105 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.422/1.422, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0007191/0.000719, allocations: 99.38 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003242, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4963, allocations: 121.3 MB / 1.041 GB, free: 58.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004101/0.5004, allocations: 4.236 MB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1347/0.6351, allocations: 140.7 MB / 1.182 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009061/0.6361, allocations: 15.94 kB / 1.182 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.6367, allocations: 150.5 kB / 1.183 GB, free: 456 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.6386, allocations: 0.5048 MB / 1.183 GB, free: 12 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.6407, allocations: 0.7756 MB / 1.184 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.6426, allocations: 1.474 MB / 1.185 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.6439, allocations: 0.996 MB / 1.186 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007845/0.6447, allocations: 466.1 kB / 1.187 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.6454, allocations: 0.495 MB / 1.187 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.6455, allocations: 32 kB / 1.187 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009076/0.6464, allocations: 350.5 kB / 1.188 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.6468, allocations: 240.5 kB / 1.188 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006386/0.6474, allocations: 0.5873 MB / 1.188 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.6502, allocations: 1.971 MB / 1.19 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6503, allocations: 0 / 1.19 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6503, allocations: 0 / 1.19 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.782e-05/0.6503, allocations: 0 / 1.19 GB, free: 10.03 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002884/0.6532, allocations: 1.469 MB / 1.192 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.6533, allocations: 8.031 kB / 1.192 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009035/0.6542, allocations: 249.3 kB / 1.192 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.6554, allocations: 0.8808 MB / 1.193 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.6555, allocations: 106.9 kB / 1.193 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.6557, allocations: 140.5 kB / 1.193 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.6581, allocations: 1.422 MB / 1.194 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.6582, allocations: 4 kB / 1.194 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.6583, allocations: 56.66 kB / 1.194 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.6583, allocations: 39.94 kB / 1.195 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.6608, allocations: 1.508 MB / 1.196 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006503/0.6674, allocations: 3.821 MB / 1.2 GB, free: 1.867 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.669, allocations: 0.9585 MB / 1.201 GB, free: 1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006613/0.6697, allocations: 397 kB / 1.201 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.6698, allocations: 51.58 kB / 1.201 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.6709, allocations: 0.5774 MB / 1.202 GB, free: 148 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=104): time 2.485e-06/0.671, allocations: 0 / 1.202 GB, free: 148 kB / 0.7605 GB Notification: Performance of matching and sorting (n=104): time 0.003561/0.6745, allocations: 1.481 MB / 1.203 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.6746, allocations: 194 kB / 1.203 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.6756, allocations: 0.7639 MB / 1.204 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.749e-05/0.6757, allocations: 46.25 kB / 1.204 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.6762, allocations: 0.5521 MB / 1.205 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.6765, allocations: 344.5 kB / 1.205 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.6766, allocations: 24 kB / 1.205 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6767, allocations: 346.3 kB / 1.205 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.6774, allocations: 363.4 kB / 1.206 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.6782, allocations: 470.2 kB / 1.206 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.6796, allocations: 0.8312 MB / 1.207 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6796, allocations: 3.938 kB / 1.207 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002344/0.682, allocations: 1.11 MB / 1.208 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.682, allocations: 8.094 kB / 1.208 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.682, allocations: 7.875 kB / 1.208 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/0.6826, allocations: 88.77 kB / 1.208 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/0.6836, allocations: 223.7 kB / 1.208 GB, free: 9.605 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.6855, allocations: 1.528 MB / 1.21 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/0.6864, allocations: 122.9 kB / 1.21 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.176e-05/0.6865, allocations: 51.95 kB / 1.21 GB, free: 7.766 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 (125): * Single equations (assignments): 124 * 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.0006043/0.6871, allocations: 307.3 kB / 1.21 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6872, allocations: 106.8 kB / 1.21 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.6902, allocations: 1.392 MB / 1.212 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.6903, allocations: 12 kB / 1.212 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6903, allocations: 0 / 1.212 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.6903, allocations: 11.91 kB / 1.212 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00421/0.6945, allocations: 2.571 MB / 1.214 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6945, allocations: 0 / 1.214 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007659/0.6953, allocations: 187.8 kB / 1.214 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/0.6958, allocations: 92.7 kB / 1.215 GB, free: 3.012 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.614e-05/0.6959, allocations: 27.98 kB / 1.215 GB, free: 2.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.6976, allocations: 1.556 MB / 1.216 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6976, allocations: 3.938 kB / 1.216 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.6998, allocations: 1.168 MB / 1.217 GB, free: 104 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/0.7005, allocations: 355.1 kB / 1.218 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.7007, allocations: 27.98 kB / 1.218 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.7015, allocations: 67.2 kB / 1.218 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.7017, allocations: 84.88 kB / 1.218 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.549e-05/0.7018, allocations: 36.05 kB / 1.218 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009177/0.7027, allocations: 0.5615 MB / 1.218 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7027, allocations: 0 / 1.218 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001129/0.7039, allocations: 410.7 kB / 1.219 GB, free: 14.57 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 (115): * Single equations (assignments): 112 * 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.001466/0.7053, allocations: 0.6781 MB / 1.219 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.7074, allocations: 1.038 MB / 1.22 GB, free: 13 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7074, allocations: 192 / 1.22 GB, free: 13 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7084, allocations: 0.6095 MB / 1.221 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.7097, allocations: 294.4 kB / 1.221 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.7147, allocations: 3.046 MB / 1.224 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.7155, allocations: 1.166 MB / 1.225 GB, free: 7.828 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001093/0.7166, allocations: 296.3 kB / 1.226 GB, free: 7.535 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.717, allocations: 131.4 kB / 1.226 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of SimCode: time 5.21e-07/0.717, allocations: 0 / 1.226 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of Templates: time 0.0303/0.7473, allocations: 16.94 MB / 1.242 GB, free: 6.602 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)