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.00175/0.00175, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002167/0.002167, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.223/3.223, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [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.002107/0.002107, allocations: 69.83 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3627, allocations: 176.1 MB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.01028/0.373, allocations: 4.552 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.5595, allocations: 132.8 MB / 1.461 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5605, allocations: 23.81 kB / 1.461 GB, free: 6.965 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007237/0.5612, allocations: 198.1 kB / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002046/0.5633, allocations: 0.6001 MB / 1.462 GB, free: 6.168 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.5655, allocations: 0.9056 MB / 1.463 GB, free: 5.27 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.5674, allocations: 1.487 MB / 1.464 GB, free: 3.777 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008258/0.5682, allocations: 433.5 kB / 1.465 GB, free: 3.328 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009118/0.5691, allocations: 0.5451 MB / 1.465 GB, free: 2.781 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007241/0.5698, allocations: 0.5523 MB / 1.466 GB, free: 2.227 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.57, allocations: 124 kB / 1.466 GB, free: 2.105 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.5711, allocations: 0.5231 MB / 1.466 GB, free: 1.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003243/0.5715, allocations: 319 kB / 1.467 GB, free: 1.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.572, allocations: 497.5 kB / 1.467 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.5745, allocations: 1.775 MB / 1.469 GB, free: 15 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.5745, allocations: 3.984 kB / 1.469 GB, free: 14.99 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5745, allocations: 4 kB / 1.469 GB, free: 14.99 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.5746, allocations: 0 / 1.469 GB, free: 14.99 MB / 1.17 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.003081/0.5776, allocations: 1.483 MB / 1.47 GB, free: 13.47 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5777, allocations: 20.02 kB / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.5797, allocations: 264 kB / 1.471 GB, free: 13.19 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.5812, allocations: 0.7298 MB / 1.471 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.5813, allocations: 70 kB / 1.471 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.5814, allocations: 87.98 kB / 1.472 GB, free: 12.28 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.5835, allocations: 1.232 MB / 1.473 GB, free: 10.95 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.5835, allocations: 0 / 1.473 GB, free: 10.95 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5836, allocations: 36 kB / 1.473 GB, free: 10.91 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.5836, allocations: 24 kB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.5857, allocations: 1.112 MB / 1.474 GB, free: 9.77 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004714/0.5904, allocations: 2.275 MB / 1.476 GB, free: 7.445 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.5926, allocations: 0.8529 MB / 1.477 GB, free: 6.578 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/0.5932, allocations: 298.7 kB / 1.477 GB, free: 6.285 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.534e-05/0.5932, allocations: 24.62 kB / 1.477 GB, free: 6.258 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.5943, allocations: 0.6378 MB / 1.478 GB, free: 5.582 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.866e-06/0.5943, allocations: 0 / 1.478 GB, free: 5.582 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.00362/0.5979, allocations: 1.219 MB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.5981, allocations: 196.9 kB / 1.479 GB, free: 4.117 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.599, allocations: 0.6252 MB / 1.48 GB, free: 3.484 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.5e-05/0.5991, allocations: 41.7 kB / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.5994, allocations: 421.1 kB / 1.48 GB, free: 3.02 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.5997, allocations: 297.5 kB / 1.481 GB, free: 2.727 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.6, allocations: 186.5 kB / 1.481 GB, free: 2.539 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.6002, allocations: 390.7 kB / 1.481 GB, free: 2.148 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/0.6008, allocations: 293.8 kB / 1.481 GB, free: 1.859 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.6016, allocations: 0.5074 MB / 1.482 GB, free: 1.309 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.6029, allocations: 0.6476 MB / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6029, allocations: 0 / 1.483 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002313/0.6052, allocations: 0.9117 MB / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.6052, allocations: 11.98 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6052, allocations: 4.094 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006784/0.6059, allocations: 80.72 kB / 1.484 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.6067, allocations: 183.8 kB / 1.484 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002324/0.609, allocations: 1.508 MB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009378/0.6099, allocations: 97.33 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/0.61, allocations: 39.97 kB / 1.485 GB, free: 13.7 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (104): * Single equations (assignments): 103 * 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.0005518/0.6106, allocations: 280.2 kB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.6108, allocations: 91.38 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.6137, allocations: 1.187 MB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.6137, allocations: 12 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6137, allocations: 0 / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6137, allocations: 3.984 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.6175, allocations: 1.829 MB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6175, allocations: 0 / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.6182, allocations: 171.7 kB / 1.489 GB, free: 10.08 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/0.6187, allocations: 68.8 kB / 1.489 GB, free: 10.01 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.6188, allocations: 31.97 kB / 1.489 GB, free: 9.977 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.6209, allocations: 1.524 MB / 1.49 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6209, allocations: 4.031 kB / 1.49 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.6233, allocations: 1.092 MB / 1.491 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.6239, allocations: 219 kB / 1.492 GB, free: 7.012 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.624, allocations: 24 kB / 1.492 GB, free: 6.988 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.6248, allocations: 73.8 kB / 1.492 GB, free: 6.918 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.625, allocations: 84.83 kB / 1.492 GB, free: 6.836 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.346e-05/0.6251, allocations: 35.98 kB / 1.492 GB, free: 6.801 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006412/0.6257, allocations: 455 kB / 1.492 GB, free: 6.363 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6257, allocations: 0 / 1.492 GB, free: 6.363 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00105/0.6268, allocations: 363 kB / 1.493 GB, free: 6.008 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.002244/0.629, allocations: 0.6628 MB / 1.493 GB, free: 5.551 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.6311, allocations: 0.8585 MB / 1.494 GB, free: 4.68 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.6311, allocations: 8.188 kB / 1.494 GB, free: 4.672 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.6321, allocations: 0.5314 MB / 1.495 GB, free: 4.129 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6334, allocations: 304.5 kB / 1.495 GB, free: 3.852 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.6369, allocations: 1.796 MB / 1.497 GB, free: 2.023 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.6374, allocations: 466.2 kB / 1.497 GB, free: 1.535 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008555/0.6382, allocations: 286.8 kB / 1.497 GB, free: 1.25 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6385, allocations: 115.4 kB / 1.498 GB, free: 1.137 MB / 1.186 GB Notification: Performance of SimCode: time 1.402e-06/0.6386, allocations: 0 / 1.498 GB, free: 1.137 MB / 1.186 GB Notification: Performance of Templates: time 0.03248/0.671, allocations: 17.56 MB / 1.515 GB, free: 15.84 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 400] 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: 9.892264301990508]