Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.00143/0.00143, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.001562/0.001562, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.449/1.449, allocations: 230.5 MB / 252.8 MB, free: 9.129 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.106/3.106, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [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.00207/0.00207, allocations: 73.19 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007568/0.3368, allocations: 5.228 MB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5218, allocations: 154 MB / 1.477 GB, free: 2.953 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.5228, allocations: 23.81 kB / 1.477 GB, free: 2.93 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.5234, allocations: 218 kB / 1.477 GB, free: 2.715 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.5254, allocations: 0.5902 MB / 1.478 GB, free: 2.125 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.5276, allocations: 0.8732 MB / 1.478 GB, free: 1.258 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.5297, allocations: 1.483 MB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009801/0.5306, allocations: 485.5 kB / 1.48 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.5317, allocations: 0.5451 MB / 1.481 GB, free: 14.72 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008047/0.5325, allocations: 0.5601 MB / 1.481 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.5326, allocations: 132 kB / 1.482 GB, free: 14.03 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.5339, allocations: 0.5191 MB / 1.482 GB, free: 13.51 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.5342, allocations: 330.9 kB / 1.482 GB, free: 13.19 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.5349, allocations: 0.618 MB / 1.483 GB, free: 12.57 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.5378, allocations: 1.805 MB / 1.485 GB, free: 10.75 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.5378, allocations: 0 / 1.485 GB, free: 10.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5378, allocations: 0 / 1.485 GB, free: 10.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.453e-05/0.5379, allocations: 4 kB / 1.485 GB, free: 10.75 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003167/0.541, allocations: 1.568 MB / 1.486 GB, free: 9.129 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.5411, allocations: 15.98 kB / 1.486 GB, free: 9.113 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.5436, allocations: 367.8 kB / 1.487 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.545, allocations: 0.8136 MB / 1.487 GB, free: 7.898 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.5451, allocations: 70 kB / 1.487 GB, free: 7.828 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.5452, allocations: 96 kB / 1.488 GB, free: 7.734 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.5474, allocations: 1.07 MB / 1.489 GB, free: 6.629 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.5474, allocations: 0 / 1.489 GB, free: 6.629 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5475, allocations: 47.98 kB / 1.489 GB, free: 6.582 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.5475, allocations: 20 kB / 1.489 GB, free: 6.562 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.5501, allocations: 1.268 MB / 1.49 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.5552, allocations: 3.072 MB / 1.493 GB, free: 2.066 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/0.558, allocations: 0.977 MB / 1.494 GB, free: 1.07 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/0.5588, allocations: 338.6 kB / 1.494 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.001e-05/0.5589, allocations: 28.61 kB / 1.494 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.5601, allocations: 0.5684 MB / 1.495 GB, free: 128 kB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.795e-06/0.5601, allocations: 0 / 1.495 GB, free: 128 kB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.004237/0.5643, allocations: 1.38 MB / 1.496 GB, free: 14.72 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.5644, allocations: 200.8 kB / 1.496 GB, free: 14.48 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.5654, allocations: 0.6684 MB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.42e-05/0.5655, allocations: 45.64 kB / 1.497 GB, free: 13.75 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.5659, allocations: 445 kB / 1.497 GB, free: 13.31 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.5661, allocations: 285.5 kB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/0.5664, allocations: 170.6 kB / 1.498 GB, free: 12.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.5667, allocations: 390.7 kB / 1.498 GB, free: 12.46 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.5675, allocations: 317.8 kB / 1.499 GB, free: 12.16 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009719/0.5685, allocations: 423 kB / 1.499 GB, free: 11.73 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.5702, allocations: 0.714 MB / 1.5 GB, free: 11 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5702, allocations: 0 / 1.5 GB, free: 11 MB / 1.201 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002682/0.5729, allocations: 0.974 MB / 1.501 GB, free: 10.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5729, allocations: 8.094 kB / 1.501 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5729, allocations: 4 kB / 1.501 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.5736, allocations: 80.77 kB / 1.501 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.5745, allocations: 187.8 kB / 1.501 GB, free: 9.742 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.5769, allocations: 1.648 MB / 1.502 GB, free: 7.945 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000941/0.5778, allocations: 107.6 kB / 1.503 GB, free: 7.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/0.5779, allocations: 39.97 kB / 1.503 GB, free: 7.801 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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.0004774/0.5784, allocations: 271.4 kB / 1.503 GB, free: 7.523 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5786, allocations: 95.39 kB / 1.503 GB, free: 7.43 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/0.5818, allocations: 1.21 MB / 1.504 GB, free: 6.203 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5818, allocations: 12 kB / 1.504 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5818, allocations: 0 / 1.504 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5818, allocations: 3.984 kB / 1.504 GB, free: 6.188 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.586, allocations: 2.152 MB / 1.506 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.586, allocations: 0 / 1.506 GB, free: 3.973 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007898/0.5868, allocations: 171.8 kB / 1.506 GB, free: 3.805 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/0.5873, allocations: 72.8 kB / 1.507 GB, free: 3.73 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.5874, allocations: 27.97 kB / 1.507 GB, free: 3.703 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.5895, allocations: 1.67 MB / 1.508 GB, free: 1.891 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5895, allocations: 0 / 1.508 GB, free: 1.891 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/0.5924, allocations: 1.127 MB / 1.509 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.5928, allocations: 280.2 kB / 1.51 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.593, allocations: 28.06 kB / 1.51 GB, free: 432 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008601/0.5938, allocations: 83.91 kB / 1.51 GB, free: 348 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.594, allocations: 72.83 kB / 1.51 GB, free: 276 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/0.5941, allocations: 39.98 kB / 1.51 GB, free: 236 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007114/0.5948, allocations: 491 kB / 1.51 GB, free: 15.76 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5948, allocations: 0 / 1.51 GB, free: 15.76 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001029/0.5958, allocations: 355 kB / 1.511 GB, free: 15.41 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002008/0.5978, allocations: 0.6036 MB / 1.511 GB, free: 14.98 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.6003, allocations: 0.9172 MB / 1.512 GB, free: 14.05 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6003, allocations: 0 / 1.512 GB, free: 14.05 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.6016, allocations: 0.5626 MB / 1.513 GB, free: 13.48 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.603, allocations: 300.3 kB / 1.513 GB, free: 13.2 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.6068, allocations: 1.845 MB / 1.515 GB, free: 11.32 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/0.6076, allocations: 1.055 MB / 1.516 GB, free: 10.24 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009463/0.6085, allocations: 279 kB / 1.516 GB, free: 9.961 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.6089, allocations: 115.4 kB / 1.516 GB, free: 9.848 MB / 1.217 GB Notification: Performance of SimCode: time 8.91e-07/0.6089, allocations: 0 / 1.516 GB, free: 9.848 MB / 1.217 GB Notification: Performance of Templates: time 0.03209/0.6409, allocations: 16.35 MB / 1.532 GB, free: 9.68 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.577719623688608]