Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7354/0.7354, 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.00087/0.0008699, 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.339/1.339, 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.0007802/0.0007802, 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.001628/0.001628, allocations: 281.6 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 14 kB / 0.6948 GB, free: 59.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 82.45 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004297/0.1272, allocations: 3.539 MB / 0.7788 GB, free: 10.83 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4139/0.5411, allocations: 140.3 MB / 0.9158 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.5417, allocations: 13.88 kB / 0.9158 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.5421, allocations: 135.7 kB / 0.9159 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.5433, allocations: 409.1 kB / 0.9163 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.5449, allocations: 0.6841 MB / 0.917 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.546, allocations: 1.099 MB / 0.9181 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.5467, allocations: 0.577 MB / 0.9186 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.5472, allocations: 307.6 kB / 0.9189 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.5475, allocations: 337.3 kB / 0.9192 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/0.5476, allocations: 20.22 kB / 0.9193 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.5483, allocations: 344.2 kB / 0.9196 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.5486, allocations: 168.2 kB / 0.9197 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.5489, allocations: 413.5 kB / 0.9201 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.5502, allocations: 1.354 MB / 0.9215 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5502, allocations: 0 / 0.9215 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5502, allocations: 1.688 kB / 0.9215 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.5502, allocations: 0 / 0.9215 GB, free: 11.25 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001843/0.552, allocations: 1.126 MB / 0.9226 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5521, allocations: 9.25 kB / 0.9226 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.5529, allocations: 190.3 kB / 0.9228 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008752/0.5538, allocations: 0.6978 MB / 0.9234 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.5538, allocations: 60.69 kB / 0.9235 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.5539, allocations: 73.88 kB / 0.9236 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.5553, allocations: 0.8631 MB / 0.9244 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5554, allocations: 0 / 0.9244 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.5554, allocations: 34.66 kB / 0.9244 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.5555, allocations: 26.38 kB / 0.9245 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.5571, allocations: 1.061 MB / 0.9255 GB, free: 9.977 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003475/0.5606, allocations: 2.422 MB / 0.9279 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.5618, allocations: 0.7949 MB / 0.9286 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.5623, allocations: 274.8 kB / 0.9289 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.226e-05/0.5623, allocations: 32.48 kB / 0.9289 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.5631, allocations: 429.1 kB / 0.9293 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.5631, allocations: 0 / 0.9293 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.002872/0.566, allocations: 1.083 MB / 0.9304 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.5661, allocations: 187.5 kB / 0.9306 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.5667, allocations: 0.5857 MB / 0.9312 GB, free: 8.184 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.5668, allocations: 40.55 kB / 0.9312 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.567, allocations: 369.3 kB / 0.9315 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5672, allocations: 241.9 kB / 0.9318 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.5672, allocations: 11.62 kB / 0.9318 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5674, allocations: 382.1 kB / 0.9321 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.5678, allocations: 242.3 kB / 0.9324 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.5683, allocations: 330.4 kB / 0.9327 GB, free: 7.293 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.5691, allocations: 0.5509 MB / 0.9332 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5691, allocations: 0 / 0.9332 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001501/0.5707, allocations: 0.7736 MB / 0.934 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5707, allocations: 8.875 kB / 0.934 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5707, allocations: 1.688 kB / 0.934 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/0.5712, allocations: 84.8 kB / 0.9341 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.5718, allocations: 148 kB / 0.9342 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.5736, allocations: 1.525 MB / 0.9357 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.5742, allocations: 84.44 kB / 0.9358 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.5743, allocations: 34.31 kB / 0.9358 GB, free: 5.516 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 (83): * Single equations (assignments): 82 * 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.0003386/0.5747, allocations: 251.9 kB / 0.9361 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.5748, allocations: 79.19 kB / 0.9361 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.5768, allocations: 1.004 MB / 0.9371 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5769, allocations: 7.625 kB / 0.9371 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5769, allocations: 4.703 kB / 0.9371 GB, free: 5.051 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5769, allocations: 3.984 kB / 0.9371 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.5795, allocations: 1.853 MB / 0.9389 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5795, allocations: 0 / 0.9389 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.5801, allocations: 148.2 kB / 0.9391 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.5805, allocations: 81.03 kB / 0.9392 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.5806, allocations: 27.27 kB / 0.9392 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.5822, allocations: 1.554 MB / 0.9407 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5822, allocations: 0 / 0.9407 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.5837, allocations: 0.9129 MB / 0.9416 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.584, allocations: 268.6 kB / 0.9419 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.973e-05/0.5841, allocations: 20.75 kB / 0.9419 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.5846, allocations: 71.03 kB / 0.9419 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5848, allocations: 62.53 kB / 0.942 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.5848, allocations: 39.22 kB / 0.942 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004344/0.5853, allocations: 421.9 kB / 0.9424 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5853, allocations: 0 / 0.9424 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000729/0.586, allocations: 287.4 kB / 0.9427 GB, free: 2.121 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 (86): * Single equations (assignments): 83 * 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.001251/0.5873, allocations: 0.6749 MB / 0.9434 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.5886, allocations: 0.762 MB / 0.9441 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.5886, allocations: 2.656 kB / 0.9441 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.5893, allocations: 497.8 kB / 0.9446 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5903, allocations: 263.2 kB / 0.9448 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.5937, allocations: 2.099 MB / 0.9469 GB, free: 88 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.5942, allocations: 1.008 MB / 0.9479 GB, free: 15.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007467/0.595, allocations: 244.6 kB / 0.9481 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.5952, allocations: 107 kB / 0.9482 GB, free: 15.12 MB / 0.573 GB Notification: Performance of SimCode: time 4.51e-07/0.5952, allocations: 2.562 kB / 0.9482 GB, free: 15.12 MB / 0.573 GB Notification: Performance of Templates: time 0.01951/0.6147, allocations: 13.23 MB / 0.9611 GB, free: 8.488 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)