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.001746/0.001746, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002246/0.002246, allocations: 216.8 kB / 22.25 MB, free: 5.105 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.789 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.09/3.09, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.002014/0.002014, allocations: 65.16 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007271/0.3279, allocations: 4.523 MB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1638/0.4917, allocations: 132.9 MB / 1.46 GB, free: 7.582 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.4926, allocations: 23.81 kB / 1.46 GB, free: 7.559 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008163/0.4934, allocations: 210.1 kB / 1.46 GB, free: 7.352 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.4957, allocations: 0.6031 MB / 1.461 GB, free: 6.75 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002282/0.498, allocations: 0.8722 MB / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001918/0.4999, allocations: 1.471 MB / 1.463 GB, free: 4.406 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009873/0.5009, allocations: 422.7 kB / 1.464 GB, free: 3.969 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.5019, allocations: 0.5412 MB / 1.464 GB, free: 3.426 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009476/0.5029, allocations: 0.5406 MB / 1.465 GB, free: 2.883 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.5032, allocations: 128 kB / 1.465 GB, free: 2.758 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.5045, allocations: 0.4996 MB / 1.465 GB, free: 2.258 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.5049, allocations: 322.9 kB / 1.465 GB, free: 1.941 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008832/0.5058, allocations: 485.6 kB / 1.466 GB, free: 1.465 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.5089, allocations: 1.751 MB / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5089, allocations: 0 / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5089, allocations: 0 / 1.468 GB, free: 15.71 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.452e-05/0.509, allocations: 0 / 1.468 GB, free: 15.71 MB / 1.17 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.003675/0.5127, allocations: 1.468 MB / 1.469 GB, free: 14.2 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5127, allocations: 16.03 kB / 1.469 GB, free: 14.19 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/0.513, allocations: 139.7 kB / 1.469 GB, free: 14.04 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.515, allocations: 264 kB / 1.469 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.5167, allocations: 0.7413 MB / 1.47 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.5168, allocations: 66 kB / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.5169, allocations: 84 kB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.5191, allocations: 1.216 MB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.5191, allocations: 0 / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-05/0.5192, allocations: 40 kB / 1.472 GB, free: 11.51 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.5192, allocations: 24 kB / 1.472 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.5212, allocations: 1.116 MB / 1.473 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004688/0.5259, allocations: 2.369 MB / 1.475 GB, free: 7.934 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.5275, allocations: 0.8027 MB / 1.476 GB, free: 7.125 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005721/0.5281, allocations: 290.6 kB / 1.476 GB, free: 6.836 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-05/0.5281, allocations: 28.62 kB / 1.476 GB, free: 6.809 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.5292, allocations: 0.64 MB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.005e-06/0.5292, allocations: 4 kB / 1.477 GB, free: 6.125 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003387/0.5326, allocations: 1.223 MB / 1.478 GB, free: 4.891 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.5327, allocations: 200.8 kB / 1.478 GB, free: 4.652 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5337, allocations: 0.6763 MB / 1.479 GB, free: 3.969 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.5338, allocations: 41.7 kB / 1.479 GB, free: 3.922 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.5342, allocations: 425.1 kB / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.5345, allocations: 297.5 kB / 1.479 GB, free: 3.207 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.5347, allocations: 166.5 kB / 1.48 GB, free: 3.039 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.5349, allocations: 394.7 kB / 1.48 GB, free: 2.645 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/0.5355, allocations: 265.9 kB / 1.48 GB, free: 2.383 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/0.5362, allocations: 0.5107 MB / 1.481 GB, free: 1.816 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.5375, allocations: 0.6282 MB / 1.481 GB, free: 1.176 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5375, allocations: 0 / 1.481 GB, free: 1.176 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00208/0.5395, allocations: 0.8765 MB / 1.482 GB, free: 296 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5396, allocations: 4 kB / 1.482 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5396, allocations: 4 kB / 1.482 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.5401, allocations: 84.83 kB / 1.482 GB, free: 200 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.5408, allocations: 167.8 kB / 1.483 GB, free: 32 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.543, allocations: 1.523 MB / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007946/0.5438, allocations: 107.4 kB / 1.484 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/0.5439, allocations: 27.98 kB / 1.484 GB, free: 14.25 MB / 1.186 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.000512/0.5444, allocations: 279.4 kB / 1.484 GB, free: 13.97 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.5446, allocations: 95.5 kB / 1.484 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.5473, allocations: 1.172 MB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5473, allocations: 8 kB / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5473, allocations: 0 / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.5474, allocations: 7.922 kB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.5486, allocations: 0.7781 MB / 1.486 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5486, allocations: 0 / 1.486 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.5492, allocations: 155.8 kB / 1.487 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.5497, allocations: 84.66 kB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.5497, allocations: 23.98 kB / 1.487 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001928/0.5517, allocations: 1.551 MB / 1.488 GB, free: 9.922 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5517, allocations: 0 / 1.488 GB, free: 9.922 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/0.5539, allocations: 1.002 MB / 1.489 GB, free: 8.902 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.5545, allocations: 219 kB / 1.489 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.5547, allocations: 31.88 kB / 1.489 GB, free: 8.656 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/0.5554, allocations: 67.92 kB / 1.489 GB, free: 8.59 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.5556, allocations: 80.8 kB / 1.49 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/0.5556, allocations: 39.97 kB / 1.49 GB, free: 8.469 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007719/0.5564, allocations: 499 kB / 1.49 GB, free: 7.984 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5564, allocations: 4 kB / 1.49 GB, free: 7.98 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001066/0.5575, allocations: 331.2 kB / 1.49 GB, free: 7.656 MB / 1.186 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.004717/0.5622, allocations: 2.099 MB / 1.492 GB, free: 5.738 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.5642, allocations: 0.8273 MB / 1.493 GB, free: 4.895 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5642, allocations: 0 / 1.493 GB, free: 4.895 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.5652, allocations: 0.5276 MB / 1.494 GB, free: 4.359 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5667, allocations: 294.3 kB / 1.494 GB, free: 4.094 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.5784, allocations: 6.604 MB / 1.5 GB, free: 13.34 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.5789, allocations: 461.9 kB / 1.501 GB, free: 12.86 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008885/0.5798, allocations: 287.1 kB / 1.501 GB, free: 12.57 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/0.5805, allocations: 419.2 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/0.5805, allocations: 0 / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08934/0.6698, allocations: 24.98 MB / 1.526 GB, free: 3.5 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.25, allocations: 4.062 kB / 1.526 GB, free: 3.496 MB / 1.217 GB " [Timeout remaining time 286] (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.060033643007046]