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.001358/0.001358, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001842/0.001842, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.781 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.174/3.174, allocations: 0.4892 GB / 0.7943 GB, free: 35.41 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.002035/0.002035, allocations: 63.59 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007522/0.3551, allocations: 4.532 MB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.5296, allocations: 132.9 MB / 1.459 GB, free: 8.469 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009957/0.5306, allocations: 23.81 kB / 1.459 GB, free: 8.445 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.5313, allocations: 202.2 kB / 1.459 GB, free: 8.246 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.534, allocations: 0.6059 MB / 1.46 GB, free: 7.641 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.5364, allocations: 0.8669 MB / 1.461 GB, free: 6.781 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.5386, allocations: 1.468 MB / 1.462 GB, free: 5.309 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.5394, allocations: 405.9 kB / 1.463 GB, free: 4.887 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008425/0.5402, allocations: 0.545 MB / 1.463 GB, free: 4.34 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.5409, allocations: 0.4899 MB / 1.464 GB, free: 3.848 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.5411, allocations: 120 kB / 1.464 GB, free: 3.73 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.5423, allocations: 499.6 kB / 1.464 GB, free: 3.242 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003421/0.5426, allocations: 315 kB / 1.465 GB, free: 2.934 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005211/0.5431, allocations: 489.7 kB / 1.465 GB, free: 2.453 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.5454, allocations: 1.759 MB / 1.467 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5454, allocations: 0 / 1.467 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5454, allocations: 0 / 1.467 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.5454, allocations: 0 / 1.467 GB, free: 0.6875 MB / 1.154 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.002934/0.5484, allocations: 1.472 MB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5484, allocations: 8.031 kB / 1.468 GB, free: 15.17 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/0.5486, allocations: 139.7 kB / 1.468 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.5505, allocations: 268 kB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.552, allocations: 0.7335 MB / 1.469 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.649e-05/0.5521, allocations: 66 kB / 1.469 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.5522, allocations: 88 kB / 1.469 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5541, allocations: 1.22 MB / 1.471 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.5541, allocations: 0 / 1.471 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.5542, allocations: 39.94 kB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.5542, allocations: 24 kB / 1.471 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.5561, allocations: 1.108 MB / 1.472 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00457/0.5607, allocations: 2.384 MB / 1.474 GB, free: 8.906 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.5623, allocations: 0.792 MB / 1.475 GB, free: 8.105 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.5629, allocations: 286.7 kB / 1.475 GB, free: 7.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/0.563, allocations: 28.62 kB / 1.475 GB, free: 7.793 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.564, allocations: 0.6476 MB / 1.476 GB, free: 7.105 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.996e-06/0.564, allocations: 0 / 1.476 GB, free: 7.105 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003498/0.5675, allocations: 1.215 MB / 1.477 GB, free: 5.879 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5677, allocations: 196.9 kB / 1.477 GB, free: 5.645 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009475/0.5686, allocations: 0.6841 MB / 1.478 GB, free: 4.953 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.5687, allocations: 41.7 kB / 1.478 GB, free: 4.906 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.5691, allocations: 425 kB / 1.478 GB, free: 4.484 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.5694, allocations: 297.5 kB / 1.479 GB, free: 4.191 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.5696, allocations: 166.5 kB / 1.479 GB, free: 4.023 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.5698, allocations: 386.8 kB / 1.479 GB, free: 3.637 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.5704, allocations: 277.8 kB / 1.479 GB, free: 3.363 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/0.5712, allocations: 0.5068 MB / 1.48 GB, free: 2.801 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.5724, allocations: 0.632 MB / 1.481 GB, free: 2.156 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5724, allocations: 0 / 1.481 GB, free: 2.156 MB / 1.17 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002198/0.5746, allocations: 0.8803 MB / 1.481 GB, free: 1.27 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5746, allocations: 10.12 kB / 1.481 GB, free: 1.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5746, allocations: 0 / 1.481 GB, free: 1.262 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.5752, allocations: 80.77 kB / 1.481 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007233/0.5759, allocations: 167.8 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.5782, allocations: 1.523 MB / 1.483 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.5791, allocations: 107.4 kB / 1.483 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.5792, allocations: 35.97 kB / 1.483 GB, free: 15.23 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.0005802/0.5797, allocations: 277.5 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.58, allocations: 87.44 kB / 1.484 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.5829, allocations: 1.172 MB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.5829, allocations: 12 kB / 1.485 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.5829, allocations: 0 / 1.485 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5829, allocations: 3.984 kB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.5843, allocations: 0.7819 MB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5843, allocations: 0 / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.585, allocations: 159.8 kB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004784/0.5855, allocations: 80.66 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.5855, allocations: 23.98 kB / 1.486 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.5877, allocations: 1.543 MB / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5877, allocations: 0 / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.5901, allocations: 1.006 MB / 1.488 GB, free: 9.887 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.5907, allocations: 215 kB / 1.488 GB, free: 9.676 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.5909, allocations: 27.92 kB / 1.489 GB, free: 9.648 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.5915, allocations: 67.94 kB / 1.489 GB, free: 9.582 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/0.5917, allocations: 76.84 kB / 1.489 GB, free: 9.504 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.5918, allocations: 39.97 kB / 1.489 GB, free: 9.465 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007169/0.5925, allocations: 499 kB / 1.489 GB, free: 8.98 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5925, allocations: 0 / 1.489 GB, free: 8.98 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009365/0.5935, allocations: 343.1 kB / 1.489 GB, free: 8.645 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.004598/0.5981, allocations: 2.111 MB / 1.492 GB, free: 6.715 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.6, allocations: 0.8272 MB / 1.492 GB, free: 5.875 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6, allocations: 4 kB / 1.492 GB, free: 5.871 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.601, allocations: 0.5121 MB / 1.493 GB, free: 5.348 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.6023, allocations: 302.3 kB / 1.493 GB, free: 5.07 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.6141, allocations: 6.604 MB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.6146, allocations: 465.9 kB / 1.5 GB, free: 13.83 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009146/0.6155, allocations: 275.1 kB / 1.5 GB, free: 13.56 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.6162, allocations: 419.2 kB / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of SimCode: time 1.011e-06/0.6162, allocations: 0 / 1.501 GB, free: 13.15 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07032/0.6865, allocations: 24.73 MB / 1.525 GB, free: 4.738 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.65, allocations: 64 / 1.525 GB, free: 4.738 MB / 1.217 GB " [Timeout remaining time 284] (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: 22.572643934749067]