Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001711/0.001711, 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.002269/0.002269, allocations: 212.1 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.805 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.136/3.136, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002029/0.002029, allocations: 72.11 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3014, allocations: 176.1 MB / 1.325 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007373/0.3088, allocations: 4.499 MB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1629/0.4717, allocations: 132.7 MB / 1.459 GB, free: 8.668 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008194/0.4725, allocations: 19.88 kB / 1.459 GB, free: 8.648 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007807/0.4733, allocations: 206.1 kB / 1.459 GB, free: 8.445 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.4755, allocations: 0.5791 MB / 1.46 GB, free: 7.867 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.4778, allocations: 0.8777 MB / 1.461 GB, free: 6.996 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.4798, allocations: 1.452 MB / 1.462 GB, free: 5.539 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000931/0.4807, allocations: 398.1 kB / 1.462 GB, free: 5.125 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009353/0.4816, allocations: 0.5294 MB / 1.463 GB, free: 4.594 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008961/0.4825, allocations: 487.6 kB / 1.463 GB, free: 4.117 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.4828, allocations: 120 kB / 1.464 GB, free: 4 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.484, allocations: 499.6 kB / 1.464 GB, free: 3.512 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.4844, allocations: 319 kB / 1.464 GB, free: 3.199 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.4852, allocations: 477.7 kB / 1.465 GB, free: 2.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.488, allocations: 1.735 MB / 1.467 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.488, allocations: 0 / 1.467 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/0.488, allocations: 0 / 1.467 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.513e-05/0.4881, allocations: 4 kB / 1.467 GB, free: 0.9844 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003267/0.4914, allocations: 1.46 MB / 1.468 GB, free: 15.49 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4914, allocations: 12.03 kB / 1.468 GB, free: 15.48 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002164/0.4916, allocations: 135.6 kB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.4934, allocations: 259.9 kB / 1.468 GB, free: 15.08 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.4949, allocations: 0.7218 MB / 1.469 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.542e-05/0.495, allocations: 69.98 kB / 1.469 GB, free: 14.26 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.4951, allocations: 84 kB / 1.469 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.4971, allocations: 1.193 MB / 1.47 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.4971, allocations: 11.94 kB / 1.47 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.4972, allocations: 39.98 kB / 1.47 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.4972, allocations: 20 kB / 1.47 GB, free: 12.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.4992, allocations: 1.077 MB / 1.471 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004524/0.5037, allocations: 2.267 MB / 1.474 GB, free: 9.402 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.5053, allocations: 0.7845 MB / 1.474 GB, free: 8.605 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.5059, allocations: 286.7 kB / 1.475 GB, free: 8.32 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.45e-05/0.506, allocations: 24.64 kB / 1.475 GB, free: 8.297 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.507, allocations: 0.6243 MB / 1.475 GB, free: 7.633 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.935e-06/0.507, allocations: 0 / 1.475 GB, free: 7.633 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003472/0.5105, allocations: 1.196 MB / 1.477 GB, free: 6.426 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.5107, allocations: 192.9 kB / 1.477 GB, free: 6.195 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5117, allocations: 0.6646 MB / 1.477 GB, free: 5.523 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.5118, allocations: 41.7 kB / 1.477 GB, free: 5.477 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003712/0.5122, allocations: 417 kB / 1.478 GB, free: 5.062 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.5125, allocations: 289.5 kB / 1.478 GB, free: 4.777 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.5127, allocations: 158.6 kB / 1.478 GB, free: 4.617 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.5129, allocations: 386.8 kB / 1.479 GB, free: 4.23 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.5135, allocations: 261.9 kB / 1.479 GB, free: 3.973 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.5143, allocations: 0.4959 MB / 1.479 GB, free: 3.418 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5154, allocations: 0.6094 MB / 1.48 GB, free: 2.793 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5154, allocations: 4 kB / 1.48 GB, free: 2.789 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002091/0.5175, allocations: 0.8452 MB / 1.481 GB, free: 1.938 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5176, allocations: 9.969 kB / 1.481 GB, free: 1.93 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.5176, allocations: 0 / 1.481 GB, free: 1.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.5182, allocations: 84.89 kB / 1.481 GB, free: 1.844 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.5189, allocations: 159.8 kB / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.5211, allocations: 1.523 MB / 1.482 GB, free: 44 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.5219, allocations: 87.59 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.522, allocations: 43.97 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004817/0.5224, allocations: 269.6 kB / 1.483 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.5227, allocations: 99.38 kB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.5254, allocations: 1.132 MB / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.5254, allocations: 12 kB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5254, allocations: 3.938 kB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.5254, allocations: 3.984 kB / 1.484 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.5292, allocations: 1.884 MB / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5292, allocations: 0 / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.5298, allocations: 159.7 kB / 1.486 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.5303, allocations: 72.8 kB / 1.486 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.361e-05/0.5304, allocations: 27.97 kB / 1.486 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.5325, allocations: 1.551 MB / 1.488 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5325, allocations: 3.938 kB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.5348, allocations: 1.061 MB / 1.489 GB, free: 9.422 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.5354, allocations: 215 kB / 1.489 GB, free: 9.211 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.5356, allocations: 24.14 kB / 1.489 GB, free: 9.188 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.5364, allocations: 74.02 kB / 1.489 GB, free: 9.117 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.5366, allocations: 80.84 kB / 1.489 GB, free: 9.039 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.5366, allocations: 35.98 kB / 1.489 GB, free: 9.004 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007393/0.5374, allocations: 483 kB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5374, allocations: 0 / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009714/0.5384, allocations: 339.1 kB / 1.49 GB, free: 8.207 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 (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.004644/0.543, allocations: 2.147 MB / 1.492 GB, free: 6.242 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.545, allocations: 0.8155 MB / 1.493 GB, free: 5.414 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.545, allocations: 8 kB / 1.493 GB, free: 5.406 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.5461, allocations: 0.5044 MB / 1.493 GB, free: 4.891 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.5475, allocations: 303.8 kB / 1.494 GB, free: 4.617 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.5598, allocations: 6.504 MB / 1.5 GB, free: 13.95 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.5603, allocations: 451.4 kB / 1.5 GB, free: 13.48 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009527/0.5613, allocations: 275 kB / 1.501 GB, free: 13.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/0.5619, allocations: 407.3 kB / 1.501 GB, free: 12.81 MB / 1.201 GB Notification: Performance of SimCode: time 9.42e-07/0.5619, allocations: 0 / 1.501 GB, free: 12.81 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06841/0.6304, allocations: 24.24 MB / 1.525 GB, free: 4.891 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.76, allocations: 9.891 kB / 1.525 GB, free: 4.887 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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_AltitudeAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.663164532743394]