Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 111.3 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.116/3.116, allocations: 0.49 GB / 0.7916 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 65.25 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007249/0.3368, allocations: 5.038 MB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.5189, allocations: 154.2 MB / 1.476 GB, free: 3.5 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009082/0.5198, allocations: 23.81 kB / 1.476 GB, free: 3.477 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008435/0.5207, allocations: 198.1 kB / 1.476 GB, free: 3.281 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.523, allocations: 0.5977 MB / 1.477 GB, free: 2.684 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.5254, allocations: 0.8636 MB / 1.478 GB, free: 1.828 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.5276, allocations: 1.471 MB / 1.479 GB, free: 360 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009683/0.5285, allocations: 434.3 kB / 1.48 GB, free: 15.9 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.5295, allocations: 0.5411 MB / 1.48 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008969/0.5304, allocations: 0.5446 MB / 1.481 GB, free: 14.81 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000303/0.5307, allocations: 120 kB / 1.481 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.5319, allocations: 0.5113 MB / 1.481 GB, free: 14.18 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003916/0.5323, allocations: 315 kB / 1.482 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008118/0.5331, allocations: 0.5946 MB / 1.482 GB, free: 13.28 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.5359, allocations: 1.739 MB / 1.484 GB, free: 11.53 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.5359, allocations: 4 kB / 1.484 GB, free: 11.53 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5359, allocations: 0 / 1.484 GB, free: 11.53 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.469e-05/0.5359, allocations: 0 / 1.484 GB, free: 11.53 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003692/0.5396, allocations: 1.544 MB / 1.486 GB, free: 9.93 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5397, allocations: 15.98 kB / 1.486 GB, free: 9.914 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002464/0.5399, allocations: 135.7 kB / 1.486 GB, free: 9.773 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.542, allocations: 283.9 kB / 1.486 GB, free: 9.496 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.5436, allocations: 0.8056 MB / 1.487 GB, free: 8.648 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.5436, allocations: 66 kB / 1.487 GB, free: 8.582 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.5438, allocations: 84 kB / 1.487 GB, free: 8.5 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.5458, allocations: 0.969 MB / 1.488 GB, free: 7.492 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5458, allocations: 4 kB / 1.488 GB, free: 7.488 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5459, allocations: 36 kB / 1.488 GB, free: 7.453 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.546, allocations: 20 kB / 1.488 GB, free: 7.434 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.5481, allocations: 1.155 MB / 1.489 GB, free: 6.273 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005385/0.5535, allocations: 2.927 MB / 1.492 GB, free: 3.219 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.5552, allocations: 0.7886 MB / 1.493 GB, free: 2.426 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.5559, allocations: 294.7 kB / 1.493 GB, free: 2.133 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.373e-05/0.556, allocations: 36.67 kB / 1.493 GB, free: 2.098 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.557, allocations: 0.5237 MB / 1.493 GB, free: 1.559 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.876e-06/0.557, allocations: 4 kB / 1.493 GB, free: 1.555 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003735/0.5607, allocations: 1.308 MB / 1.495 GB, free: 228 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.5609, allocations: 200.9 kB / 1.495 GB, free: 15.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.562, allocations: 0.6725 MB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.5621, allocations: 41.7 kB / 1.496 GB, free: 15.25 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.5625, allocations: 421.1 kB / 1.496 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.5628, allocations: 297.5 kB / 1.496 GB, free: 14.54 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.5631, allocations: 158.6 kB / 1.496 GB, free: 14.38 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.5633, allocations: 390.7 kB / 1.497 GB, free: 13.99 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.5639, allocations: 273.9 kB / 1.497 GB, free: 13.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007492/0.5647, allocations: 386.5 kB / 1.497 GB, free: 13.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.566, allocations: 0.6359 MB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.566, allocations: 0 / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002314/0.5683, allocations: 0.8803 MB / 1.499 GB, free: 11.78 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5683, allocations: 7.984 kB / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5683, allocations: 0 / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/0.569, allocations: 80.84 kB / 1.499 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.5697, allocations: 171.7 kB / 1.499 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.5721, allocations: 1.637 MB / 1.501 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009247/0.573, allocations: 111.4 kB / 1.501 GB, free: 9.633 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5731, allocations: 35.97 kB / 1.501 GB, free: 9.598 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0005999/0.5737, allocations: 268.5 kB / 1.501 GB, free: 9.328 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.574, allocations: 95.39 kB / 1.501 GB, free: 9.234 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.577, allocations: 1.168 MB / 1.502 GB, free: 8.051 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.577, allocations: 8 kB / 1.502 GB, free: 8.043 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5771, allocations: 4 kB / 1.502 GB, free: 8.039 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5771, allocations: 7.984 kB / 1.502 GB, free: 8.031 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.5785, allocations: 0.9426 MB / 1.503 GB, free: 7.039 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.5785, allocations: 0 / 1.503 GB, free: 7.039 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.5792, allocations: 163.7 kB / 1.504 GB, free: 6.879 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.5796, allocations: 76.73 kB / 1.504 GB, free: 6.801 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/0.5797, allocations: 27.97 kB / 1.504 GB, free: 6.773 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.5819, allocations: 1.658 MB / 1.505 GB, free: 4.973 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5819, allocations: 3.938 kB / 1.505 GB, free: 4.969 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.5844, allocations: 1.006 MB / 1.506 GB, free: 3.938 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/0.585, allocations: 292.1 kB / 1.507 GB, free: 3.633 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.5851, allocations: 27.92 kB / 1.507 GB, free: 3.605 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.5859, allocations: 63.94 kB / 1.507 GB, free: 3.543 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.5861, allocations: 84.88 kB / 1.507 GB, free: 3.461 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.5862, allocations: 35.98 kB / 1.507 GB, free: 3.426 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008302/0.587, allocations: 0.4912 MB / 1.507 GB, free: 2.938 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.587, allocations: 0 / 1.507 GB, free: 2.938 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001186/0.5882, allocations: 331.2 kB / 1.508 GB, free: 2.613 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004738/0.5929, allocations: 2.07 MB / 1.51 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.595, allocations: 0.8273 MB / 1.51 GB, free: 15.86 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.595, allocations: 4.188 kB / 1.51 GB, free: 15.85 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.5961, allocations: 0.5158 MB / 1.511 GB, free: 15.32 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5977, allocations: 309.6 kB / 1.511 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.6107, allocations: 6.601 MB / 1.518 GB, free: 8.289 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008919/0.6116, allocations: 1.04 MB / 1.519 GB, free: 7.219 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001021/0.6126, allocations: 275.2 kB / 1.519 GB, free: 6.945 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/0.6134, allocations: 415.2 kB / 1.519 GB, free: 6.539 MB / 1.217 GB Notification: Performance of SimCode: time 1.403e-06/0.6134, allocations: 7.938 kB / 1.519 GB, free: 6.531 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06911/0.6825, allocations: 23.13 MB / 1.542 GB, free: 15.7 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.41, allocations: 7.938 kB / 1.542 GB, free: 15.69 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.192101277178153]