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.001912/0.001912, 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.002435/0.002435, allocations: 212.6 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.527/1.527, allocations: 230.6 MB / 256 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.345/3.345, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002233/0.002233, allocations: 65.64 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3508, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.008164/0.3589, allocations: 4.54 MB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.194/0.553, allocations: 132.8 MB / 1.46 GB, free: 7.992 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.5541, allocations: 27.81 kB / 1.46 GB, free: 7.965 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000917/0.5551, allocations: 202.1 kB / 1.46 GB, free: 7.766 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.5575, allocations: 0.583 MB / 1.46 GB, free: 7.184 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.5605, allocations: 0.9163 MB / 1.461 GB, free: 6.273 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002562/0.563, allocations: 1.487 MB / 1.463 GB, free: 4.781 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.564, allocations: 409.5 kB / 1.463 GB, free: 4.355 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.5651, allocations: 0.5451 MB / 1.464 GB, free: 3.809 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009827/0.566, allocations: 0.4937 MB / 1.464 GB, free: 3.312 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.5664, allocations: 124 kB / 1.464 GB, free: 3.191 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.5677, allocations: 0.5074 MB / 1.465 GB, free: 2.684 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.5681, allocations: 323 kB / 1.465 GB, free: 2.367 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000772/0.5689, allocations: 493.5 kB / 1.466 GB, free: 1.883 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.5717, allocations: 1.778 MB / 1.467 GB, free: 100 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5717, allocations: 3.984 kB / 1.467 GB, free: 96 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5717, allocations: 4 kB / 1.467 GB, free: 92 kB / 1.154 GB Notification: Performance of Transformations before backend: time 5.895e-05/0.5718, allocations: 0 / 1.467 GB, free: 92 kB / 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.003621/0.5754, allocations: 1.488 MB / 1.469 GB, free: 14.56 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.5754, allocations: 12.03 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.5775, allocations: 260 kB / 1.469 GB, free: 14.3 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5791, allocations: 0.7376 MB / 1.47 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.5791, allocations: 66 kB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.5793, allocations: 88 kB / 1.47 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.5814, allocations: 1.232 MB / 1.471 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.5814, allocations: 4 kB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.5815, allocations: 36 kB / 1.471 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.5815, allocations: 20 kB / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.5836, allocations: 1.112 MB / 1.472 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/0.5883, allocations: 2.287 MB / 1.474 GB, free: 8.535 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.5905, allocations: 0.8412 MB / 1.475 GB, free: 7.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.5912, allocations: 298.7 kB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.003e-05/0.5912, allocations: 28.56 kB / 1.476 GB, free: 7.355 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.5923, allocations: 0.6417 MB / 1.476 GB, free: 6.676 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.497e-06/0.5923, allocations: 0 / 1.476 GB, free: 6.676 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003612/0.5959, allocations: 1.219 MB / 1.477 GB, free: 5.445 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.5961, allocations: 196.9 kB / 1.478 GB, free: 5.211 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.5972, allocations: 0.6252 MB / 1.478 GB, free: 4.578 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.742e-05/0.5972, allocations: 45.7 kB / 1.478 GB, free: 4.527 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.5977, allocations: 417.1 kB / 1.479 GB, free: 4.113 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.5979, allocations: 301.4 kB / 1.479 GB, free: 3.816 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.5983, allocations: 186.5 kB / 1.479 GB, free: 3.629 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.5985, allocations: 386.8 kB / 1.48 GB, free: 3.242 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006277/0.5991, allocations: 289.8 kB / 1.48 GB, free: 2.957 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008555/0.5999, allocations: 0.5074 MB / 1.48 GB, free: 2.406 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.6013, allocations: 0.6476 MB / 1.481 GB, free: 1.746 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6013, allocations: 4 kB / 1.481 GB, free: 1.742 MB / 1.17 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002297/0.6036, allocations: 0.9117 MB / 1.482 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.6036, allocations: 11.98 kB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6036, allocations: 0 / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.6042, allocations: 84.78 kB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.605, allocations: 175.8 kB / 1.482 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.6073, allocations: 1.502 MB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.6081, allocations: 99.59 kB / 1.484 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.695e-05/0.6082, allocations: 43.97 kB / 1.484 GB, free: 14.8 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.000514/0.6087, allocations: 280.1 kB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.609, allocations: 87.44 kB / 1.484 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.6118, allocations: 1.199 MB / 1.485 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6118, allocations: 12 kB / 1.485 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6118, allocations: 0 / 1.485 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6118, allocations: 3.984 kB / 1.485 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00386/0.6157, allocations: 1.826 MB / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6157, allocations: 0 / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.6164, allocations: 171.7 kB / 1.487 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/0.6169, allocations: 68.8 kB / 1.487 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.27e-05/0.6169, allocations: 35.91 kB / 1.487 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.6191, allocations: 1.524 MB / 1.489 GB, free: 9.438 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6191, allocations: 0 / 1.489 GB, free: 9.438 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.6216, allocations: 1.096 MB / 1.49 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.6222, allocations: 215 kB / 1.49 GB, free: 8.109 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.6224, allocations: 28.06 kB / 1.49 GB, free: 8.082 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007598/0.6231, allocations: 63.92 kB / 1.49 GB, free: 8.02 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.6233, allocations: 92.83 kB / 1.49 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.135e-05/0.6234, allocations: 35.98 kB / 1.49 GB, free: 7.895 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007347/0.6241, allocations: 455 kB / 1.491 GB, free: 7.457 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6242, allocations: 0 / 1.491 GB, free: 7.457 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001245/0.6254, allocations: 359.1 kB / 1.491 GB, free: 7.105 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.002409/0.6278, allocations: 0.6625 MB / 1.492 GB, free: 6.648 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.63, allocations: 0.8662 MB / 1.492 GB, free: 5.77 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.63, allocations: 0 / 1.492 GB, free: 5.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.6312, allocations: 0.5433 MB / 1.493 GB, free: 5.215 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.6327, allocations: 296.7 kB / 1.493 GB, free: 4.945 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.6365, allocations: 1.796 MB / 1.495 GB, free: 3.121 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.6371, allocations: 466.2 kB / 1.496 GB, free: 2.633 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009638/0.6381, allocations: 274.8 kB / 1.496 GB, free: 2.359 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.6384, allocations: 115.4 kB / 1.496 GB, free: 2.246 MB / 1.186 GB Notification: Performance of SimCode: time 6.32e-07/0.6384, allocations: 0 / 1.496 GB, free: 2.246 MB / 1.186 GB Notification: Performance of Templates: time 0.03221/0.6706, allocations: 17.32 MB / 1.513 GB, free: 1.188 MB / 1.201 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 -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/jenkins/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: 10.276585413143039]