Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8698/0.8698, allocations: 143.8 MB / 159.1 MB, free: 6.484 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.001017/0.001017, allocations: 186.3 kB / 192 MB, free: 6.727 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.336/1.336, allocations: 225.7 MB / 450.4 MB, free: 4.988 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.0008488/0.0008488, allocations: 115.2 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.001721/0.001721, allocations: 277.5 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004307, allocations: 11.78 kB / 0.6948 GB, free: 59.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1361, allocations: 82.46 MB / 0.7753 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005302/0.1414, allocations: 4.237 MB / 0.7794 GB, free: 10.09 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.441/0.5825, allocations: 140.7 MB / 0.9169 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.5833, allocations: 17.81 kB / 0.9169 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.5838, allocations: 145.3 kB / 0.917 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.5853, allocations: 0.5038 MB / 0.9175 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.5872, allocations: 0.7749 MB / 0.9183 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.5886, allocations: 1.475 MB / 0.9197 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.5898, allocations: 1.001 MB / 0.9207 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000709/0.5905, allocations: 465.8 kB / 0.9211 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.5911, allocations: 0.4945 MB / 0.9216 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.842e-05/0.5912, allocations: 30.28 kB / 0.9217 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.5921, allocations: 359.2 kB / 0.922 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.5924, allocations: 233.7 kB / 0.9222 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.5929, allocations: 0.5948 MB / 0.9228 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.5946, allocations: 1.974 MB / 0.9247 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5946, allocations: 1.406 kB / 0.9247 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5946, allocations: 0 / 0.9247 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.5946, allocations: 0 / 0.9247 GB, free: 10.95 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002512/0.5972, allocations: 1.464 MB / 0.9262 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5972, allocations: 8.562 kB / 0.9262 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009529/0.5982, allocations: 251.9 kB / 0.9264 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.5993, allocations: 0.8775 MB / 0.9273 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.5994, allocations: 109.8 kB / 0.9274 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.5995, allocations: 137.6 kB / 0.9275 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.6018, allocations: 1.417 MB / 0.9289 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.6019, allocations: 1.094 kB / 0.9289 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.602, allocations: 62.59 kB / 0.9289 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/0.602, allocations: 37.97 kB / 0.929 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.6045, allocations: 1.507 MB / 0.9305 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.6098, allocations: 3.813 MB / 0.9342 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.6112, allocations: 0.9591 MB / 0.9351 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.6118, allocations: 399.8 kB / 0.9355 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.6119, allocations: 46.91 kB / 0.9355 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009881/0.6129, allocations: 0.5846 MB / 0.9361 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=104): time 2.756e-06/0.6129, allocations: 0 / 0.9361 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of matching and sorting (n=104): time 0.003279/0.6162, allocations: 1.478 MB / 0.9376 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6163, allocations: 193.3 kB / 0.9377 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.6171, allocations: 0.7567 MB / 0.9385 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/0.6172, allocations: 46.77 kB / 0.9385 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.6175, allocations: 0.5564 MB / 0.9391 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.6178, allocations: 346.8 kB / 0.9394 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.6178, allocations: 20.56 kB / 0.9394 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.618, allocations: 349.2 kB / 0.9398 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.6185, allocations: 359.4 kB / 0.9401 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006698/0.6192, allocations: 475.9 kB / 0.9405 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.6205, allocations: 0.8354 MB / 0.9414 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6205, allocations: 0 / 0.9414 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001957/0.6225, allocations: 1.113 MB / 0.9424 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6225, allocations: 3.344 kB / 0.9425 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6225, allocations: 7.312 kB / 0.9425 GB, free: 4.695 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.6231, allocations: 82.47 kB / 0.9425 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/0.6239, allocations: 238.3 kB / 0.9428 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.6257, allocations: 1.526 MB / 0.9443 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.6265, allocations: 129.1 kB / 0.9444 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.6266, allocations: 49.27 kB / 0.9444 GB, free: 3.156 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 (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.0004532/0.6271, allocations: 315 kB / 0.9447 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.6272, allocations: 102 kB / 0.9448 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.6299, allocations: 1.387 MB / 0.9462 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.6299, allocations: 11.78 kB / 0.9462 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.6299, allocations: 0 / 0.9462 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.63, allocations: 7.969 kB / 0.9462 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.6335, allocations: 2.58 MB / 0.9487 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6335, allocations: 0 / 0.9487 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007354/0.6343, allocations: 190.9 kB / 0.9489 GB, free: 1.621 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/0.6348, allocations: 87.02 kB / 0.949 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.6349, allocations: 31.55 kB / 0.949 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.6365, allocations: 1.555 MB / 0.9505 GB, free: 212 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6365, allocations: 3.938 kB / 0.9505 GB, free: 208 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.6385, allocations: 1.165 MB / 0.9517 GB, free: 15.87 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.6389, allocations: 358.4 kB / 0.952 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.6391, allocations: 18.25 kB / 0.952 GB, free: 15.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.6398, allocations: 76.72 kB / 0.9521 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.64, allocations: 77.53 kB / 0.9522 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.64, allocations: 40.75 kB / 0.9522 GB, free: 15.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007008/0.6408, allocations: 0.5674 MB / 0.9528 GB, free: 15.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6408, allocations: 0 / 0.9528 GB, free: 15.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00101/0.6418, allocations: 404.7 kB / 0.9532 GB, free: 15.31 MB / 0.573 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.001458/0.6432, allocations: 0.6797 MB / 0.9538 GB, free: 14.97 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.6452, allocations: 1.026 MB / 0.9548 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6452, allocations: 3.062 kB / 0.9548 GB, free: 14.71 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.6462, allocations: 0.6212 MB / 0.9554 GB, free: 14.51 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.6474, allocations: 284.2 kB / 0.9557 GB, free: 14.44 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/0.6524, allocations: 3.041 MB / 0.9587 GB, free: 12.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007953/0.6532, allocations: 1.165 MB / 0.9598 GB, free: 11.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009989/0.6542, allocations: 300.7 kB / 0.9601 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.6545, allocations: 131 kB / 0.9602 GB, free: 11.62 MB / 0.573 GB Notification: Performance of SimCode: time 2.61e-07/0.6546, allocations: 0 / 0.9602 GB, free: 11.62 MB / 0.573 GB Notification: Performance of Templates: time 0.02818/0.6827, allocations: 16.98 MB / 0.9768 GB, free: 360 kB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)