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.008817/0.008817, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.296/2.296, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7913, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00587/0.7972, allocations: 4.446 MB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.9767, allocations: 150.6 MB / 1.239 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.9779, allocations: 15.69 kB / 1.239 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008737/0.9788, allocations: 177 kB / 1.239 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.9814, allocations: 0.5235 MB / 1.24 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.984, allocations: 0.8391 MB / 1.24 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.9861, allocations: 1.357 MB / 1.242 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.9875, allocations: 0.6304 MB / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.9886, allocations: 0.4924 MB / 1.243 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009516/0.9896, allocations: 0.5026 MB / 1.243 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.9899, allocations: 118.5 kB / 1.243 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.9912, allocations: 489.4 kB / 1.244 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.9916, allocations: 307.6 kB / 1.244 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009136/0.9925, allocations: 0.5613 MB / 1.245 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.9949, allocations: 1.639 MB / 1.246 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.995, allocations: 4 kB / 1.246 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.995, allocations: 0 / 1.246 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.634e-05/0.995, allocations: 0 / 1.246 GB, free: 11.12 MB / 0.9825 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.003107/0.9981, allocations: 1.464 MB / 1.248 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.9982, allocations: 8.031 kB / 1.248 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/0.9984, allocations: 139.6 kB / 1.248 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.9995, allocations: 191.3 kB / 1.248 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/1.001, allocations: 0.7778 MB / 1.249 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/1.001, allocations: 62 kB / 1.249 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.001, allocations: 80 kB / 1.249 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/1.003, allocations: 0.9457 MB / 1.25 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.003, allocations: 0 / 1.25 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/1.003, allocations: 43.98 kB / 1.25 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/1.003, allocations: 24 kB / 1.25 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/1.005, allocations: 1.128 MB / 1.251 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/1.009, allocations: 2.535 MB / 1.254 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.011, allocations: 0.9044 MB / 1.254 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/1.012, allocations: 318.7 kB / 1.255 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.046e-05/1.012, allocations: 36.67 kB / 1.255 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000928/1.013, allocations: 0.5118 MB / 1.255 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/1.013, allocations: 3.938 kB / 1.255 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003461/1.016, allocations: 1.247 MB / 1.256 GB, free: 444 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/1.016, allocations: 200.9 kB / 1.257 GB, free: 200 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/1.017, allocations: 0.6371 MB / 1.257 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/1.017, allocations: 41.7 kB / 1.257 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/1.018, allocations: 408.4 kB / 1.258 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/1.018, allocations: 272 kB / 1.258 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/1.018, allocations: 158.5 kB / 1.258 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.018, allocations: 390.8 kB / 1.258 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/1.019, allocations: 257.8 kB / 1.259 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/1.02, allocations: 375.4 kB / 1.259 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.021, allocations: 0.6133 MB / 1.26 GB, free: 13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.021, allocations: 0 / 1.26 GB, free: 13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002052/1.023, allocations: 0.8331 MB / 1.26 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.023, allocations: 11.94 kB / 1.261 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.023, allocations: 3.984 kB / 1.261 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006178/1.024, allocations: 80.89 kB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/1.024, allocations: 167.7 kB / 1.261 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/1.027, allocations: 1.623 MB / 1.262 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/1.027, allocations: 97.94 kB / 1.262 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/1.027, allocations: 43.91 kB / 1.262 GB, free: 9.988 MB / 0.9981 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.0004828/1.028, allocations: 269.7 kB / 1.263 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.028, allocations: 86.91 kB / 1.263 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/1.031, allocations: 1.132 MB / 1.264 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.031, allocations: 8 kB / 1.264 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.031, allocations: 0 / 1.264 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.031, allocations: 11.92 kB / 1.264 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/1.035, allocations: 2.041 MB / 1.266 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.035, allocations: 3.984 kB / 1.266 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/1.035, allocations: 151.8 kB / 1.266 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/1.036, allocations: 72.78 kB / 1.266 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.036, allocations: 31.98 kB / 1.266 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/1.038, allocations: 1.65 MB / 1.268 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.038, allocations: 4.062 kB / 1.268 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/1.04, allocations: 1.049 MB / 1.269 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/1.041, allocations: 283.7 kB / 1.269 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.041, allocations: 20 kB / 1.269 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007798/1.042, allocations: 71.98 kB / 1.269 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.042, allocations: 80.89 kB / 1.269 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.5e-05/1.042, allocations: 39.97 kB / 1.269 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006944/1.043, allocations: 463 kB / 1.27 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.473e-06/1.043, allocations: 4 kB / 1.27 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001033/1.044, allocations: 319.1 kB / 1.27 GB, free: 1.965 MB / 0.9981 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.004036/1.048, allocations: 2.108 MB / 1.272 GB, free: 8 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.05, allocations: 0.8273 MB / 1.273 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.418e-05/1.05, allocations: 7.938 kB / 1.273 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/1.052, allocations: 0.555 MB / 1.273 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.053, allocations: 291.9 kB / 1.274 GB, free: 14.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.065, allocations: 6.488 MB / 1.28 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/1.066, allocations: 1.036 MB / 1.281 GB, free: 6.613 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008817/1.067, allocations: 274.8 kB / 1.281 GB, free: 6.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/1.067, allocations: 399.3 kB / 1.282 GB, free: 5.949 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.067, allocations: 0 / 1.282 GB, free: 5.949 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0519/1.119, allocations: 21.89 MB / 1.303 GB, free: 412 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.92, allocations: 8.969 kB / 1.303 GB, free: 408 kB / 1.029 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches