Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00182/0.00182, 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.002335/0.002335, allocations: 216.2 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.773 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.034/3.034, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 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.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_12_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.002083/0.002083, allocations: 73.94 kB / 1.153 GB, free: 25.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006898/0.3308, allocations: 4.544 MB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.4985, allocations: 132.8 MB / 1.459 GB, free: 8.477 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.4996, allocations: 23.81 kB / 1.459 GB, free: 8.453 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007765/0.5004, allocations: 202.1 kB / 1.459 GB, free: 8.254 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.5025, allocations: 0.5907 MB / 1.46 GB, free: 7.664 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.5047, allocations: 0.9157 MB / 1.461 GB, free: 6.754 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.5068, allocations: 1.483 MB / 1.462 GB, free: 5.266 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008351/0.5076, allocations: 413.5 kB / 1.463 GB, free: 4.836 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009071/0.5085, allocations: 0.5412 MB / 1.463 GB, free: 4.293 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.5092, allocations: 0.4976 MB / 1.464 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.5094, allocations: 124 kB / 1.464 GB, free: 3.672 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.5105, allocations: 0.5074 MB / 1.464 GB, free: 3.164 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.5108, allocations: 326.9 kB / 1.465 GB, free: 2.844 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004718/0.5112, allocations: 493.6 kB / 1.465 GB, free: 2.359 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.5134, allocations: 1.786 MB / 1.467 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.5135, allocations: 4 kB / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5135, allocations: 0 / 1.467 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.5135, allocations: 0 / 1.467 GB, free: 0.5625 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002828/0.5163, allocations: 1.489 MB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5163, allocations: 8.031 kB / 1.468 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/0.5165, allocations: 147.8 kB / 1.468 GB, free: 14.88 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/0.5184, allocations: 267.9 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.5198, allocations: 0.7397 MB / 1.469 GB, free: 13.85 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/0.5199, allocations: 66 kB / 1.47 GB, free: 13.78 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.52, allocations: 87.98 kB / 1.47 GB, free: 13.7 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.5218, allocations: 1.224 MB / 1.471 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5219, allocations: 0 / 1.471 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/0.522, allocations: 43.94 kB / 1.471 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.522, allocations: 20 kB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.5239, allocations: 1.124 MB / 1.472 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.5283, allocations: 2.402 MB / 1.474 GB, free: 8.719 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.5304, allocations: 0.8517 MB / 1.475 GB, free: 7.855 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005921/0.531, allocations: 294.7 kB / 1.475 GB, free: 7.566 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.36e-05/0.5311, allocations: 24.64 kB / 1.475 GB, free: 7.539 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.5321, allocations: 0.6398 MB / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.125e-06/0.5321, allocations: 0 / 1.476 GB, free: 6.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003443/0.5356, allocations: 1.231 MB / 1.477 GB, free: 5.617 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.5357, allocations: 192.9 kB / 1.477 GB, free: 5.387 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/0.5367, allocations: 0.6802 MB / 1.478 GB, free: 4.699 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/0.5367, allocations: 41.7 kB / 1.478 GB, free: 4.652 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.5371, allocations: 421.1 kB / 1.479 GB, free: 4.234 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.5374, allocations: 293.5 kB / 1.479 GB, free: 3.945 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.5377, allocations: 166.5 kB / 1.479 GB, free: 3.777 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.5379, allocations: 390.7 kB / 1.479 GB, free: 3.387 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.5385, allocations: 273.8 kB / 1.48 GB, free: 3.117 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007633/0.5392, allocations: 0.4991 MB / 1.48 GB, free: 2.562 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.5405, allocations: 0.632 MB / 1.481 GB, free: 1.918 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5405, allocations: 0 / 1.481 GB, free: 1.918 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002095/0.5426, allocations: 0.8648 MB / 1.482 GB, free: 1.047 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5426, allocations: 8 kB / 1.482 GB, free: 1.039 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5426, allocations: 4.094 kB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.5432, allocations: 84.75 kB / 1.482 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.5439, allocations: 163.8 kB / 1.482 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.5461, allocations: 1.533 MB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/0.5468, allocations: 104.7 kB / 1.483 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.5469, allocations: 39.97 kB / 1.483 GB, free: 15 MB / 1.186 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.0005098/0.5474, allocations: 275.7 kB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5476, allocations: 99.33 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.5504, allocations: 1.187 MB / 1.485 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5504, allocations: 15.94 kB / 1.485 GB, free: 13.4 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.5504, allocations: 0 / 1.485 GB, free: 13.4 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5504, allocations: 3.984 kB / 1.485 GB, free: 13.4 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.5541, allocations: 1.946 MB / 1.487 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5541, allocations: 0 / 1.487 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.5548, allocations: 171.7 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.5553, allocations: 80.77 kB / 1.487 GB, free: 11.15 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.285e-05/0.5553, allocations: 23.98 kB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.5573, allocations: 1.555 MB / 1.489 GB, free: 9.449 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5573, allocations: 3.938 kB / 1.489 GB, free: 9.445 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.5596, allocations: 1.096 MB / 1.49 GB, free: 8.328 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.5602, allocations: 226.9 kB / 1.49 GB, free: 8.105 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5603, allocations: 20 kB / 1.49 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/0.561, allocations: 71.92 kB / 1.49 GB, free: 8.016 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.5612, allocations: 84.83 kB / 1.49 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.5613, allocations: 39.98 kB / 1.49 GB, free: 7.895 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006718/0.562, allocations: 495 kB / 1.491 GB, free: 7.418 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.562, allocations: 0 / 1.491 GB, free: 7.418 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009248/0.5629, allocations: 351.1 kB / 1.491 GB, free: 7.074 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 (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.004622/0.5675, allocations: 2.214 MB / 1.493 GB, free: 5.047 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.5695, allocations: 0.8428 MB / 1.494 GB, free: 4.191 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5695, allocations: 0 / 1.494 GB, free: 4.191 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5706, allocations: 0.5355 MB / 1.494 GB, free: 3.645 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.572, allocations: 304 kB / 1.495 GB, free: 3.363 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.5834, allocations: 6.66 MB / 1.501 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.584, allocations: 468.6 kB / 1.502 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008948/0.5849, allocations: 279.2 kB / 1.502 GB, free: 11.79 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/0.5855, allocations: 427.2 kB / 1.502 GB, free: 11.37 MB / 1.201 GB Notification: Performance of SimCode: time 7.01e-07/0.5855, allocations: 0 / 1.502 GB, free: 11.37 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/0.6539, allocations: 24.92 MB / 1.527 GB, free: 2.773 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.67, allocations: 18.14 kB / 1.527 GB, free: 2.762 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.285469638183713]