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.001537/0.001537, allocations: 84.98 kB / 19.76 MB, free: 2.023 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.001406/0.001406, allocations: 158.3 kB / 23.01 MB, free: 4.961 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.415/1.415, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.887/2.887, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_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_latest_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.002231/0.002231, allocations: 67.91 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8716, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005853/0.8775, allocations: 4.553 MB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1836/1.061, allocations: 132.8 MB / 1.321 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/1.062, allocations: 19.88 kB / 1.321 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006707/1.063, allocations: 214.1 kB / 1.321 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/1.065, allocations: 0.5819 MB / 1.322 GB, free: 11.76 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/1.067, allocations: 0.9054 MB / 1.322 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001987/1.069, allocations: 1.495 MB / 1.324 GB, free: 9.359 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007946/1.07, allocations: 413.5 kB / 1.324 GB, free: 8.93 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000774/1.071, allocations: 0.5373 MB / 1.325 GB, free: 8.391 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/1.072, allocations: 0.4977 MB / 1.325 GB, free: 7.891 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/1.072, allocations: 124 kB / 1.325 GB, free: 7.77 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/1.073, allocations: 0.5112 MB / 1.326 GB, free: 7.258 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003503/1.073, allocations: 319 kB / 1.326 GB, free: 6.945 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005402/1.074, allocations: 493.6 kB / 1.327 GB, free: 6.461 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/1.076, allocations: 1.786 MB / 1.328 GB, free: 4.672 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.076, allocations: 4 kB / 1.328 GB, free: 4.668 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.283e-06/1.076, allocations: 0 / 1.328 GB, free: 4.668 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.251e-05/1.076, allocations: 7.938 kB / 1.328 GB, free: 4.66 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.003022/1.079, allocations: 1.484 MB / 1.33 GB, free: 3.141 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.079, allocations: 12.03 kB / 1.33 GB, free: 3.129 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/1.081, allocations: 267.9 kB / 1.33 GB, free: 2.867 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/1.083, allocations: 0.7298 MB / 1.331 GB, free: 2.109 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/1.083, allocations: 73.98 kB / 1.331 GB, free: 2.035 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.083, allocations: 84 kB / 1.331 GB, free: 1.953 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/1.085, allocations: 1.228 MB / 1.332 GB, free: 0.625 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/1.085, allocations: 3.938 kB / 1.332 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/1.085, allocations: 39.98 kB / 1.332 GB, free: 0.582 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/1.085, allocations: 24 kB / 1.332 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/1.087, allocations: 1.108 MB / 1.333 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/1.092, allocations: 2.279 MB / 1.336 GB, free: 13.12 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/1.094, allocations: 0.8453 MB / 1.336 GB, free: 12.26 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/1.095, allocations: 302.7 kB / 1.337 GB, free: 11.96 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/1.095, allocations: 24.64 kB / 1.337 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/1.096, allocations: 0.6301 MB / 1.337 GB, free: 11.27 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.655e-06/1.096, allocations: 0 / 1.337 GB, free: 11.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003598/1.099, allocations: 1.231 MB / 1.339 GB, free: 10.03 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/1.099, allocations: 200.9 kB / 1.339 GB, free: 9.793 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008651/1.1, allocations: 0.6175 MB / 1.339 GB, free: 9.164 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/1.1, allocations: 45.7 kB / 1.339 GB, free: 9.113 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/1.101, allocations: 421.1 kB / 1.34 GB, free: 8.695 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/1.101, allocations: 301.5 kB / 1.34 GB, free: 8.398 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/1.101, allocations: 178.6 kB / 1.34 GB, free: 8.219 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000219/1.102, allocations: 386.8 kB / 1.341 GB, free: 7.832 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/1.102, allocations: 285.8 kB / 1.341 GB, free: 7.551 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008121/1.103, allocations: 0.5114 MB / 1.341 GB, free: 6.996 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.104, allocations: 0.6593 MB / 1.342 GB, free: 6.328 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.104, allocations: 0 / 1.342 GB, free: 6.328 MB / 1.186 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002251/1.107, allocations: 0.9116 MB / 1.343 GB, free: 5.402 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.107, allocations: 8 kB / 1.343 GB, free: 5.395 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.107, allocations: 3.984 kB / 1.343 GB, free: 5.391 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/1.107, allocations: 84.83 kB / 1.343 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/1.108, allocations: 179.7 kB / 1.343 GB, free: 5.129 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/1.11, allocations: 1.502 MB / 1.345 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008176/1.111, allocations: 106.2 kB / 1.345 GB, free: 3.422 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/1.111, allocations: 35.97 kB / 1.345 GB, free: 3.387 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.0004817/1.112, allocations: 275.6 kB / 1.345 GB, free: 3.109 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/1.112, allocations: 87.44 kB / 1.345 GB, free: 3.023 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/1.115, allocations: 1.191 MB / 1.346 GB, free: 1.82 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.115, allocations: 12 kB / 1.346 GB, free: 1.809 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.115, allocations: 8 kB / 1.346 GB, free: 1.801 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.115, allocations: 7.969 kB / 1.346 GB, free: 1.793 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003782/1.119, allocations: 1.837 MB / 1.348 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.119, allocations: 0 / 1.348 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000704/1.119, allocations: 163.8 kB / 1.348 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/1.12, allocations: 68.78 kB / 1.348 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/1.12, allocations: 43.91 kB / 1.348 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/1.122, allocations: 1.524 MB / 1.35 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.122, allocations: 4.031 kB / 1.35 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/1.125, allocations: 1.092 MB / 1.351 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/1.125, allocations: 215 kB / 1.351 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/1.125, allocations: 20 kB / 1.351 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008071/1.126, allocations: 67.92 kB / 1.351 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.126, allocations: 88.78 kB / 1.351 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/1.126, allocations: 39.97 kB / 1.351 GB, free: 12.47 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007186/1.127, allocations: 459 kB / 1.352 GB, free: 12.03 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/1.127, allocations: 0 / 1.352 GB, free: 12.03 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001175/1.128, allocations: 359 kB / 1.352 GB, free: 11.68 MB / 1.201 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.002308/1.131, allocations: 0.646 MB / 1.353 GB, free: 11.23 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002036/1.133, allocations: 0.8664 MB / 1.354 GB, free: 10.36 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.133, allocations: 0 / 1.354 GB, free: 10.36 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/1.134, allocations: 0.5352 MB / 1.354 GB, free: 9.805 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.135, allocations: 312.2 kB / 1.354 GB, free: 9.523 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/1.139, allocations: 1.786 MB / 1.356 GB, free: 7.707 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/1.14, allocations: 466.8 kB / 1.357 GB, free: 7.223 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009038/1.141, allocations: 274.8 kB / 1.357 GB, free: 6.949 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.141, allocations: 124.4 kB / 1.357 GB, free: 6.828 MB / 1.201 GB Notification: Performance of SimCode: time 7.32e-07/1.141, allocations: 0 / 1.357 GB, free: 6.828 MB / 1.201 GB Notification: Performance of Templates: time 0.03114/1.172, allocations: 16.26 MB / 1.373 GB, free: 6.828 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 800] 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: 9.745774702983908]