Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 198.6 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.044/2.044, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 67.89 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4558, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00432/0.4601, allocations: 4.445 MB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1287/0.5889, allocations: 150.6 MB / 1.101 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007113/0.5896, allocations: 15.94 kB / 1.101 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.5902, allocations: 178.3 kB / 1.101 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.5919, allocations: 0.5189 MB / 1.102 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.5936, allocations: 0.8392 MB / 1.103 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.5948, allocations: 1.351 MB / 1.104 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.5955, allocations: 0.6182 MB / 1.105 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000525/0.596, allocations: 498.2 kB / 1.105 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.5965, allocations: 0.5107 MB / 1.106 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.5966, allocations: 116 kB / 1.106 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.5973, allocations: 467.6 kB / 1.106 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.5975, allocations: 299.1 kB / 1.106 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.5979, allocations: 0.5673 MB / 1.107 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.5992, allocations: 1.593 MB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5992, allocations: 0 / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5992, allocations: 3.938 kB / 1.108 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.5992, allocations: 0 / 1.108 GB, free: 14.64 MB / 0.8731 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.002098/0.6013, allocations: 1.46 MB / 1.11 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.6014, allocations: 12.03 kB / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.6015, allocations: 135.6 kB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/0.6023, allocations: 191.4 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008374/0.6032, allocations: 0.7583 MB / 1.111 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.6032, allocations: 69.98 kB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-05/0.6033, allocations: 83.94 kB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.6046, allocations: 0.9457 MB / 1.112 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6046, allocations: 0 / 1.112 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.6047, allocations: 36 kB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.6047, allocations: 20 kB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.6063, allocations: 1.139 MB / 1.113 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.6095, allocations: 2.547 MB / 1.116 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.6108, allocations: 0.9034 MB / 1.117 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.6114, allocations: 322.7 kB / 1.117 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.6114, allocations: 24.56 kB / 1.117 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007761/0.6122, allocations: 0.5198 MB / 1.117 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 1.703e-06/0.6122, allocations: 0 / 1.117 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.002868/0.6151, allocations: 1.255 MB / 1.119 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.6152, allocations: 196.9 kB / 1.119 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/0.6158, allocations: 0.6372 MB / 1.119 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.6159, allocations: 41.7 kB / 1.119 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.6161, allocations: 404.3 kB / 1.12 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.6163, allocations: 276 kB / 1.12 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.6165, allocations: 150.6 kB / 1.12 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6166, allocations: 394.8 kB / 1.121 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.6171, allocations: 253.9 kB / 1.121 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.6176, allocations: 375.3 kB / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.6186, allocations: 0.6133 MB / 1.122 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.6187, allocations: 8.062 kB / 1.122 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001706/0.6204, allocations: 0.8409 MB / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.6204, allocations: 12.06 kB / 1.123 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6204, allocations: 0 / 1.123 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.6209, allocations: 80.77 kB / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.6215, allocations: 163.7 kB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.6233, allocations: 1.626 MB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.6239, allocations: 87.33 kB / 1.125 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.6239, allocations: 43.83 kB / 1.125 GB, free: 13.51 MB / 0.8887 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.0002987/0.6242, allocations: 273.7 kB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.6244, allocations: 86.97 kB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.6266, allocations: 1.14 MB / 1.126 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.6267, allocations: 12 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6267, allocations: 0 / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6267, allocations: 3.984 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.6298, allocations: 2.036 MB / 1.128 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6298, allocations: 8 kB / 1.128 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.6304, allocations: 155.8 kB / 1.128 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004009/0.6308, allocations: 72.72 kB / 1.128 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.6309, allocations: 35.97 kB / 1.128 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.6325, allocations: 1.658 MB / 1.13 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6325, allocations: 0 / 1.13 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.6343, allocations: 1.043 MB / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.6346, allocations: 291.5 kB / 1.131 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6347, allocations: 20 kB / 1.131 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.6354, allocations: 67.92 kB / 1.131 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6355, allocations: 76.89 kB / 1.131 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.6356, allocations: 35.98 kB / 1.131 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004519/0.636, allocations: 467 kB / 1.132 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/0.636, allocations: 0 / 1.132 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006469/0.6367, allocations: 323.1 kB / 1.132 GB, free: 5.477 MB / 0.8887 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.003041/0.6397, allocations: 2.108 MB / 1.134 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002084/0.6418, allocations: 1.058 MB / 1.135 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6418, allocations: 4 kB / 1.135 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008262/0.6427, allocations: 0.5393 MB / 1.136 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.6437, allocations: 296.3 kB / 1.136 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009327/0.6531, allocations: 6.751 MB / 1.143 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.6535, allocations: 1.036 MB / 1.144 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006895/0.6542, allocations: 266.8 kB / 1.144 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.6547, allocations: 395.3 kB / 1.144 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.6547, allocations: 0 / 1.144 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.6965, allocations: 21.66 MB / 1.166 GB, free: 3.688 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.938/10.63, allocations: 12.55 kB / 1.166 GB, free: 3.68 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,altAng.alt Variables in the result:time,altAng.alt,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solHouAng.solHouAng