Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001579/0.001579, 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.001851/0.001851, allocations: 210.5 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.417/1.417, 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.135/3.135, allocations: 0.4892 GB / 0.7943 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] 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.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.002005/0.002005, allocations: 72.36 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007316/0.3424, allocations: 4.558 MB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1823/0.5247, allocations: 132.8 MB / 1.459 GB, free: 8.465 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.5258, allocations: 23.81 kB / 1.459 GB, free: 8.441 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.5266, allocations: 202.1 kB / 1.459 GB, free: 8.242 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.5292, allocations: 0.5905 MB / 1.46 GB, free: 7.652 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5317, allocations: 0.9102 MB / 1.461 GB, free: 6.746 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.5341, allocations: 1.487 MB / 1.462 GB, free: 5.254 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.5352, allocations: 409.5 kB / 1.463 GB, free: 4.828 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.5364, allocations: 0.549 MB / 1.463 GB, free: 4.277 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.5375, allocations: 0.4898 MB / 1.464 GB, free: 3.785 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.5378, allocations: 124 kB / 1.464 GB, free: 3.664 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.5393, allocations: 0.5074 MB / 1.464 GB, free: 3.156 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.5398, allocations: 326.9 kB / 1.465 GB, free: 2.836 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.5406, allocations: 493.6 kB / 1.465 GB, free: 2.352 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.5441, allocations: 1.782 MB / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5441, allocations: 0 / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5441, allocations: 0 / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.266e-05/0.5442, allocations: 4 kB / 1.467 GB, free: 0.5586 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004018/0.5482, allocations: 1.5 MB / 1.468 GB, free: 15.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.5483, allocations: 11.97 kB / 1.468 GB, free: 15.01 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/0.5486, allocations: 143.8 kB / 1.468 GB, free: 14.86 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.5507, allocations: 260 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.5525, allocations: 0.7366 MB / 1.469 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/0.5526, allocations: 70 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.5528, allocations: 84 kB / 1.47 GB, free: 13.69 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.5552, allocations: 1.236 MB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5552, allocations: 0 / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5553, allocations: 36 kB / 1.471 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.5553, allocations: 24 kB / 1.471 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.5574, allocations: 1.12 MB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005149/0.5626, allocations: 2.4 MB / 1.474 GB, free: 8.711 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.5648, allocations: 0.8469 MB / 1.475 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006483/0.5655, allocations: 301.7 kB / 1.475 GB, free: 7.559 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.169e-05/0.5655, allocations: 28.56 kB / 1.475 GB, free: 7.527 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.5667, allocations: 0.628 MB / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.307e-06/0.5667, allocations: 4 kB / 1.476 GB, free: 6.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003704/0.5705, allocations: 1.235 MB / 1.477 GB, free: 5.609 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.5706, allocations: 188.9 kB / 1.477 GB, free: 5.383 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.5717, allocations: 0.6841 MB / 1.478 GB, free: 4.691 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.78e-05/0.5718, allocations: 45.7 kB / 1.478 GB, free: 4.641 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.5722, allocations: 417.2 kB / 1.479 GB, free: 4.227 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.5725, allocations: 297.5 kB / 1.479 GB, free: 3.934 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002852/0.5728, allocations: 158.6 kB / 1.479 GB, free: 3.773 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002443/0.5731, allocations: 394.7 kB / 1.479 GB, free: 3.379 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.5737, allocations: 269.8 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.5745, allocations: 0.503 MB / 1.48 GB, free: 2.555 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5757, allocations: 0.632 MB / 1.481 GB, free: 1.91 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.5757, allocations: 0 / 1.481 GB, free: 1.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002368/0.5781, allocations: 0.8765 MB / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5781, allocations: 4 kB / 1.482 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5782, allocations: 7.938 kB / 1.482 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006339/0.5788, allocations: 80.83 kB / 1.482 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.5795, allocations: 163.8 kB / 1.482 GB, free: 0.7734 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.5827, allocations: 1.529 MB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.5838, allocations: 103.5 kB / 1.483 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.5839, allocations: 39.97 kB / 1.483 GB, free: 14.98 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0007056/0.5846, allocations: 275.4 kB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/0.585, allocations: 87.44 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/0.588, allocations: 1.199 MB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.5881, allocations: 16 kB / 1.485 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5881, allocations: 0 / 1.485 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.5881, allocations: 3.984 kB / 1.485 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.5923, allocations: 1.946 MB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.5923, allocations: 0 / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/0.593, allocations: 171.7 kB / 1.487 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.5934, allocations: 72.72 kB / 1.487 GB, free: 11.14 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/0.5935, allocations: 35.98 kB / 1.487 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.5957, allocations: 1.551 MB / 1.489 GB, free: 9.438 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5957, allocations: 0 / 1.489 GB, free: 9.438 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.5982, allocations: 1.1 MB / 1.49 GB, free: 8.316 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.5988, allocations: 226.9 kB / 1.49 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.599, allocations: 23.94 kB / 1.49 GB, free: 8.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007718/0.5998, allocations: 67.92 kB / 1.49 GB, free: 8.004 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.6, allocations: 84.84 kB / 1.49 GB, free: 7.922 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.6001, allocations: 43.97 kB / 1.49 GB, free: 7.879 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008201/0.6009, allocations: 491 kB / 1.491 GB, free: 7.406 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6009, allocations: 0 / 1.491 GB, free: 7.406 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001152/0.6021, allocations: 351.1 kB / 1.491 GB, free: 7.062 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.004951/0.607, allocations: 2.212 MB / 1.493 GB, free: 5.035 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.609, allocations: 0.8391 MB / 1.494 GB, free: 4.184 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6091, allocations: 0 / 1.494 GB, free: 4.184 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.6102, allocations: 0.5275 MB / 1.494 GB, free: 3.645 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.6117, allocations: 316.7 kB / 1.495 GB, free: 3.359 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.6249, allocations: 6.663 MB / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.6256, allocations: 466.3 kB / 1.502 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00102/0.6266, allocations: 283.2 kB / 1.502 GB, free: 11.77 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/0.6273, allocations: 419.2 kB / 1.502 GB, free: 11.36 MB / 1.201 GB Notification: Performance of SimCode: time 1.313e-06/0.6274, allocations: 0 / 1.502 GB, free: 11.36 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07492/0.7023, allocations: 24.94 MB / 1.527 GB, free: 2.754 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.14, allocations: 11.11 kB / 1.527 GB, free: 2.746 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,solAzi.solAzi Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solAzi.solAzi,solAzi.solTim [Calling sys.exit(0), Time elapsed: 21.989792931824923]