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.001613/0.001613, 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.00202/0.00202, allocations: 214.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.45/1.45, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.341/3.341, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002034/0.002034, allocations: 66.81 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007471/0.3426, allocations: 4.556 MB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1768/0.5193, allocations: 132.8 MB / 1.498 GB, free: 4.223 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.5204, allocations: 27.81 kB / 1.498 GB, free: 4.195 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009095/0.5213, allocations: 198.1 kB / 1.498 GB, free: 4 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.5236, allocations: 0.5873 MB / 1.498 GB, free: 3.414 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.5263, allocations: 0.9127 MB / 1.499 GB, free: 2.508 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002378/0.5287, allocations: 1.487 MB / 1.501 GB, free: 1.016 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.5298, allocations: 413.5 kB / 1.501 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.5309, allocations: 0.5373 MB / 1.502 GB, free: 48 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009878/0.5319, allocations: 0.4977 MB / 1.502 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.5322, allocations: 124 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.5336, allocations: 0.5113 MB / 1.503 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004977/0.5341, allocations: 319 kB / 1.503 GB, free: 14.6 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008932/0.535, allocations: 497.6 kB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.538, allocations: 1.786 MB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.538, allocations: 7.984 kB / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.294e-06/0.538, allocations: 0 / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.571e-05/0.5381, allocations: 0 / 1.505 GB, free: 12.31 MB / 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.004053/0.5421, allocations: 1.487 MB / 1.507 GB, free: 10.79 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.5422, allocations: 12.03 kB / 1.507 GB, free: 10.78 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/0.5425, allocations: 135.8 kB / 1.507 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.5445, allocations: 268 kB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.5463, allocations: 0.7413 MB / 1.508 GB, free: 9.605 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.5464, allocations: 66 kB / 1.508 GB, free: 9.539 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.5466, allocations: 92 kB / 1.508 GB, free: 9.449 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.5487, allocations: 1.224 MB / 1.509 GB, free: 8.125 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.5488, allocations: 7.938 kB / 1.509 GB, free: 8.117 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.771e-05/0.5489, allocations: 36 kB / 1.509 GB, free: 8.082 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.5489, allocations: 20 kB / 1.509 GB, free: 8.062 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.551, allocations: 1.112 MB / 1.51 GB, free: 6.949 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005457/0.5565, allocations: 2.415 MB / 1.513 GB, free: 4.473 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.5588, allocations: 0.8528 MB / 1.513 GB, free: 3.609 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/0.5594, allocations: 298.7 kB / 1.514 GB, free: 3.316 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/0.5595, allocations: 34.62 kB / 1.514 GB, free: 3.281 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/0.5606, allocations: 0.632 MB / 1.514 GB, free: 2.609 MB / 1.201 GB Notification: Performance of pre-optimization done (n=88): time 2.896e-06/0.5606, allocations: 0 / 1.514 GB, free: 2.609 MB / 1.201 GB Notification: Performance of matching and sorting (n=88): time 0.003663/0.5643, allocations: 1.227 MB / 1.516 GB, free: 1.375 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5644, allocations: 200.9 kB / 1.516 GB, free: 1.137 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.5655, allocations: 0.6763 MB / 1.516 GB, free: 460 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.346e-05/0.5656, allocations: 41.7 kB / 1.516 GB, free: 412 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.566, allocations: 421.2 kB / 1.517 GB, free: 15.98 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.5663, allocations: 297.5 kB / 1.517 GB, free: 15.69 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.5666, allocations: 158.6 kB / 1.517 GB, free: 15.53 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.5668, allocations: 398.7 kB / 1.518 GB, free: 15.13 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.5674, allocations: 269.9 kB / 1.518 GB, free: 14.87 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.5682, allocations: 0.5029 MB / 1.518 GB, free: 14.31 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.5695, allocations: 0.6282 MB / 1.519 GB, free: 13.67 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5695, allocations: 0 / 1.519 GB, free: 13.67 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00227/0.5718, allocations: 0.8764 MB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5718, allocations: 4 kB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.5719, allocations: 0 / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.5725, allocations: 88.81 kB / 1.52 GB, free: 12.69 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.5732, allocations: 167.7 kB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.5757, allocations: 1.519 MB / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.5768, allocations: 103.5 kB / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.5769, allocations: 35.97 kB / 1.522 GB, free: 10.75 MB / 1.217 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.0006508/0.5775, allocations: 271.5 kB / 1.522 GB, free: 10.47 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.5778, allocations: 95.39 kB / 1.522 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.5808, allocations: 1.203 MB / 1.523 GB, free: 9.168 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.5808, allocations: 8 kB / 1.523 GB, free: 9.16 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5808, allocations: 0 / 1.523 GB, free: 9.16 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5809, allocations: 7.922 kB / 1.523 GB, free: 9.152 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.5852, allocations: 1.954 MB / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5852, allocations: 3.938 kB / 1.525 GB, free: 7.141 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/0.5859, allocations: 167.8 kB / 1.525 GB, free: 6.977 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.5863, allocations: 72.78 kB / 1.525 GB, free: 6.902 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.5864, allocations: 27.97 kB / 1.525 GB, free: 6.875 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.5887, allocations: 1.547 MB / 1.527 GB, free: 5.207 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5887, allocations: 0 / 1.527 GB, free: 5.207 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.5913, allocations: 1.104 MB / 1.528 GB, free: 4.082 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/0.5921, allocations: 219 kB / 1.528 GB, free: 3.867 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.5923, allocations: 23.98 kB / 1.528 GB, free: 3.844 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008315/0.5931, allocations: 71.98 kB / 1.528 GB, free: 3.773 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.5933, allocations: 96.72 kB / 1.528 GB, free: 3.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/0.5934, allocations: 39.97 kB / 1.529 GB, free: 3.641 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008155/0.5942, allocations: 495 kB / 1.529 GB, free: 3.164 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5942, allocations: 3.938 kB / 1.529 GB, free: 3.16 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001164/0.5954, allocations: 351.1 kB / 1.529 GB, free: 2.816 MB / 1.217 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.00496/0.6004, allocations: 2.191 MB / 1.531 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.6024, allocations: 0.8394 MB / 1.532 GB, free: 15.95 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6024, allocations: 0 / 1.532 GB, free: 15.95 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.6035, allocations: 0.5275 MB / 1.533 GB, free: 15.41 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.605, allocations: 323.6 kB / 1.533 GB, free: 15.12 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.6182, allocations: 6.659 MB / 1.54 GB, free: 8.301 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/0.6189, allocations: 466.4 kB / 1.54 GB, free: 7.816 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001011/0.6199, allocations: 275.2 kB / 1.54 GB, free: 7.543 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/0.6206, allocations: 423.2 kB / 1.541 GB, free: 7.133 MB / 1.232 GB Notification: Performance of SimCode: time 8.62e-07/0.6206, allocations: 0 / 1.541 GB, free: 7.133 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07184/0.6924, allocations: 24.93 MB / 1.565 GB, free: 14.52 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.66, allocations: 9.375 kB / 1.565 GB, free: 14.51 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: 21.632115435786545]