Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001684/0.001684, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002233/0.002233, allocations: 217 kB / 22.25 MB, free: 5.082 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.307/3.307, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_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.001997/0.001997, allocations: 67.78 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3401, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007041/0.3472, allocations: 5.113 MB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5323, allocations: 154.3 MB / 1.508 GB, free: 8.441 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.5336, allocations: 23.81 kB / 1.508 GB, free: 8.418 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5346, allocations: 202.1 kB / 1.509 GB, free: 8.219 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002727/0.5373, allocations: 0.5859 MB / 1.509 GB, free: 7.633 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.5401, allocations: 0.9193 MB / 1.51 GB, free: 6.719 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002683/0.5428, allocations: 1.499 MB / 1.512 GB, free: 5.211 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.5439, allocations: 433.5 kB / 1.512 GB, free: 4.766 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.5451, allocations: 0.5372 MB / 1.513 GB, free: 4.227 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.5461, allocations: 0.5485 MB / 1.513 GB, free: 3.676 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003602/0.5464, allocations: 124 kB / 1.513 GB, free: 3.555 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.5478, allocations: 0.5425 MB / 1.514 GB, free: 3.012 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006301/0.5485, allocations: 323 kB / 1.514 GB, free: 2.695 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.5498, allocations: 0.5985 MB / 1.515 GB, free: 2.094 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.5529, allocations: 1.778 MB / 1.516 GB, free: 316 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.553, allocations: 0 / 1.516 GB, free: 316 kB / 1.201 GB Notification: Performance of FrontEnd: time 2.044e-06/0.553, allocations: 0 / 1.516 GB, free: 316 kB / 1.201 GB Notification: Performance of Transformations before backend: time 4.874e-05/0.553, allocations: 0 / 1.516 GB, free: 316 kB / 1.201 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.003729/0.5567, allocations: 1.495 MB / 1.518 GB, free: 14.77 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.5568, allocations: 16.03 kB / 1.518 GB, free: 14.76 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002723/0.5571, allocations: 135.8 kB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.5591, allocations: 267.9 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.5608, allocations: 0.7336 MB / 1.519 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.935e-05/0.5609, allocations: 69.94 kB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5611, allocations: 91.94 kB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5632, allocations: 0.9808 MB / 1.52 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.5632, allocations: 0 / 1.52 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.5633, allocations: 40 kB / 1.52 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.5633, allocations: 24 kB / 1.52 GB, free: 12.35 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.5654, allocations: 1.155 MB / 1.521 GB, free: 11.19 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/0.5709, allocations: 2.906 MB / 1.524 GB, free: 8.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.5732, allocations: 0.8569 MB / 1.525 GB, free: 7.293 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.5738, allocations: 298.7 kB / 1.525 GB, free: 7 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-05/0.5739, allocations: 42.73 kB / 1.525 GB, free: 6.961 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.5749, allocations: 0.5276 MB / 1.526 GB, free: 6.418 MB / 1.217 GB Notification: Performance of pre-optimization done (n=88): time 2.655e-06/0.5749, allocations: 3.938 kB / 1.526 GB, free: 6.414 MB / 1.217 GB Notification: Performance of matching and sorting (n=88): time 0.00374/0.5786, allocations: 1.231 MB / 1.527 GB, free: 5.18 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.5788, allocations: 196.9 kB / 1.527 GB, free: 4.941 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.58, allocations: 0.6764 MB / 1.528 GB, free: 4.258 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.5802, allocations: 45.64 kB / 1.528 GB, free: 4.207 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.5807, allocations: 421.1 kB / 1.528 GB, free: 3.789 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.581, allocations: 301.5 kB / 1.529 GB, free: 3.492 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.5813, allocations: 162.6 kB / 1.529 GB, free: 3.328 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.5815, allocations: 390.7 kB / 1.529 GB, free: 2.938 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.5821, allocations: 265.9 kB / 1.529 GB, free: 2.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.5828, allocations: 390.5 kB / 1.53 GB, free: 2.266 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.584, allocations: 0.632 MB / 1.53 GB, free: 1.625 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.584, allocations: 0 / 1.53 GB, free: 1.625 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0022/0.5862, allocations: 0.8726 MB / 1.531 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5862, allocations: 4 kB / 1.531 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5862, allocations: 0 / 1.531 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.5869, allocations: 84.78 kB / 1.531 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.5876, allocations: 171.8 kB / 1.531 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.5898, allocations: 1.527 MB / 1.533 GB, free: 14.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.5906, allocations: 101.3 kB / 1.533 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.5907, allocations: 44.02 kB / 1.533 GB, free: 14.7 MB / 1.232 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.0005251/0.5912, allocations: 268 kB / 1.533 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.5915, allocations: 95.42 kB / 1.533 GB, free: 14.33 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.5943, allocations: 1.199 MB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5943, allocations: 12 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5943, allocations: 0 / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5943, allocations: 7.984 kB / 1.535 GB, free: 13.1 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.5983, allocations: 2.082 MB / 1.537 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.5983, allocations: 4 kB / 1.537 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.5989, allocations: 163.8 kB / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/0.5994, allocations: 76.78 kB / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.5995, allocations: 27.97 kB / 1.537 GB, free: 10.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.6015, allocations: 1.559 MB / 1.538 GB, free: 9.012 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6015, allocations: 3.938 kB / 1.538 GB, free: 9.008 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/0.6039, allocations: 1.104 MB / 1.539 GB, free: 7.887 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005802/0.6045, allocations: 223 kB / 1.54 GB, free: 7.668 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.6047, allocations: 27.94 kB / 1.54 GB, free: 7.641 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/0.6055, allocations: 70.17 kB / 1.54 GB, free: 7.574 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.6057, allocations: 92.77 kB / 1.54 GB, free: 7.484 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.477e-05/0.6058, allocations: 39.98 kB / 1.54 GB, free: 7.445 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008097/0.6066, allocations: 491 kB / 1.54 GB, free: 6.973 MB / 1.232 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6066, allocations: 0 / 1.54 GB, free: 6.973 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001156/0.6077, allocations: 347.2 kB / 1.541 GB, free: 6.633 MB / 1.232 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.004576/0.6123, allocations: 2.164 MB / 1.543 GB, free: 4.617 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.6144, allocations: 0.8312 MB / 1.544 GB, free: 3.773 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.6144, allocations: 4 kB / 1.544 GB, free: 3.77 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.6155, allocations: 0.5355 MB / 1.544 GB, free: 3.219 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.617, allocations: 304.4 kB / 1.544 GB, free: 2.938 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.6307, allocations: 6.653 MB / 1.551 GB, free: 12.14 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007647/0.6315, allocations: 1.052 MB / 1.552 GB, free: 11.05 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008946/0.6324, allocations: 279.2 kB / 1.552 GB, free: 10.78 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.633, allocations: 423.2 kB / 1.553 GB, free: 10.36 MB / 1.248 GB Notification: Performance of SimCode: time 7.42e-07/0.633, allocations: 0 / 1.553 GB, free: 10.36 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06864/0.7016, allocations: 23.95 MB / 1.576 GB, free: 2.613 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.19, allocations: 9.797 kB / 1.576 GB, free: 2.605 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.216181705938652]