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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 192.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.26/3.26, allocations: 496 MB / 0.7835 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 72.22 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3476, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.009796/0.3574, allocations: 5.234 MB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1934/0.5508, allocations: 151.3 MB / 1.46 GB, free: 4.68 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.5519, allocations: 23.81 kB / 1.46 GB, free: 4.656 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006927/0.5526, allocations: 210.1 kB / 1.46 GB, free: 4.449 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.5545, allocations: 0.5688 MB / 1.461 GB, free: 3.883 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.5568, allocations: 0.8747 MB / 1.462 GB, free: 3.012 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.5587, allocations: 1.464 MB / 1.463 GB, free: 1.543 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008162/0.5596, allocations: 486.2 kB / 1.464 GB, free: 1.035 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.5603, allocations: 0.5295 MB / 1.464 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008253/0.5611, allocations: 0.5562 MB / 1.465 GB, free: 15.95 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.5613, allocations: 131.9 kB / 1.465 GB, free: 15.82 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.5624, allocations: 0.4957 MB / 1.465 GB, free: 15.32 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.5627, allocations: 315 kB / 1.466 GB, free: 15.01 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006006/0.5633, allocations: 0.6219 MB / 1.466 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.5656, allocations: 1.755 MB / 1.468 GB, free: 12.62 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5656, allocations: 4 kB / 1.468 GB, free: 12.62 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5656, allocations: 0 / 1.468 GB, free: 12.62 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.5656, allocations: 0 / 1.468 GB, free: 12.62 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002925/0.5686, allocations: 1.469 MB / 1.469 GB, free: 11.12 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5686, allocations: 8.031 kB / 1.469 GB, free: 11.11 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.5704, allocations: 315.9 kB / 1.47 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.5718, allocations: 0.729 MB / 1.47 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.15e-05/0.5719, allocations: 70 kB / 1.47 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.572, allocations: 92 kB / 1.471 GB, free: 9.887 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.5742, allocations: 1.062 MB / 1.472 GB, free: 8.785 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.5742, allocations: 8 kB / 1.472 GB, free: 8.777 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.5743, allocations: 43.98 kB / 1.472 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.5744, allocations: 24 kB / 1.472 GB, free: 8.711 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.5769, allocations: 1.264 MB / 1.473 GB, free: 7.449 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.582, allocations: 3.004 MB / 1.476 GB, free: 4.297 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.5848, allocations: 0.9021 MB / 1.477 GB, free: 3.383 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008179/0.5856, allocations: 334.6 kB / 1.477 GB, free: 3.055 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.743e-05/0.5857, allocations: 32.61 kB / 1.477 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.5869, allocations: 0.5606 MB / 1.478 GB, free: 2.449 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.314e-06/0.5869, allocations: 0 / 1.478 GB, free: 2.449 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.004231/0.5912, allocations: 1.305 MB / 1.479 GB, free: 1.133 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.5913, allocations: 200.9 kB / 1.479 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009505/0.5923, allocations: 0.641 MB / 1.48 GB, free: 252 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.289e-05/0.5923, allocations: 45.69 kB / 1.48 GB, free: 200 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.5928, allocations: 429.2 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.593, allocations: 289.5 kB / 1.48 GB, free: 15.48 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.5933, allocations: 166.6 kB / 1.481 GB, free: 15.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.5935, allocations: 386.8 kB / 1.481 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008374/0.5944, allocations: 329.8 kB / 1.481 GB, free: 14.61 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/0.5953, allocations: 419.1 kB / 1.482 GB, free: 14.18 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.597, allocations: 0.714 MB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.597, allocations: 7.938 kB / 1.482 GB, free: 13.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002634/0.5996, allocations: 0.9779 MB / 1.483 GB, free: 12.46 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5997, allocations: 6.031 kB / 1.483 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5997, allocations: 0 / 1.483 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/0.6003, allocations: 80.88 kB / 1.483 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.6012, allocations: 183.8 kB / 1.484 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.6035, allocations: 1.531 MB / 1.485 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/0.6044, allocations: 119.5 kB / 1.485 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/0.6045, allocations: 35.97 kB / 1.485 GB, free: 10.39 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: 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.0004882/0.605, allocations: 271.4 kB / 1.485 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.6052, allocations: 87.48 kB / 1.486 GB, free: 10.03 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.6083, allocations: 1.21 MB / 1.487 GB, free: 8.801 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.6083, allocations: 11.94 kB / 1.487 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6083, allocations: 4 kB / 1.487 GB, free: 8.785 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6083, allocations: 3.984 kB / 1.487 GB, free: 8.781 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004307/0.6126, allocations: 2.112 MB / 1.489 GB, free: 6.617 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.6126, allocations: 0 / 1.489 GB, free: 6.617 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007882/0.6134, allocations: 179.8 kB / 1.489 GB, free: 6.441 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.6139, allocations: 72.78 kB / 1.489 GB, free: 6.367 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.614, allocations: 23.98 kB / 1.489 GB, free: 6.344 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.6161, allocations: 1.563 MB / 1.491 GB, free: 4.66 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6161, allocations: 0 / 1.491 GB, free: 4.66 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.6188, allocations: 1.127 MB / 1.492 GB, free: 3.516 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.6193, allocations: 203 kB / 1.492 GB, free: 3.316 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6195, allocations: 28.02 kB / 1.492 GB, free: 3.289 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007992/0.6203, allocations: 84.75 kB / 1.492 GB, free: 3.207 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.6204, allocations: 84.78 kB / 1.492 GB, free: 3.121 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-05/0.6205, allocations: 35.98 kB / 1.492 GB, free: 3.086 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006798/0.6212, allocations: 463 kB / 1.493 GB, free: 2.637 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6212, allocations: 0 / 1.493 GB, free: 2.637 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001032/0.6222, allocations: 355.1 kB / 1.493 GB, free: 2.289 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: 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.002053/0.6243, allocations: 0.6097 MB / 1.493 GB, free: 1.855 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002364/0.6267, allocations: 0.925 MB / 1.494 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6267, allocations: 0 / 1.494 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.6279, allocations: 0.5509 MB / 1.495 GB, free: 368 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.6291, allocations: 305.7 kB / 1.495 GB, free: 88 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/0.6328, allocations: 1.817 MB / 1.497 GB, free: 14.24 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007742/0.6336, allocations: 1.049 MB / 1.498 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009489/0.6345, allocations: 278.9 kB / 1.498 GB, free: 12.88 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.6348, allocations: 111.4 kB / 1.498 GB, free: 12.77 MB / 1.201 GB Notification: Performance of SimCode: time 8.92e-07/0.6348, allocations: 4 kB / 1.498 GB, free: 12.77 MB / 1.201 GB Notification: Performance of Templates: time 0.03269/0.6675, allocations: 16.62 MB / 1.515 GB, free: 12.33 MB / 1.217 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.983629319816828]