Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001812/0.001812, 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.002567/0.002567, allocations: 212.9 kB / 22.25 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002131/0.002131, allocations: 66.97 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008228/0.3612, allocations: 4.684 MB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1927/0.5539, allocations: 132.7 MB / 1.417 GB, free: 2.047 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/0.5549, allocations: 19.88 kB / 1.417 GB, free: 2.027 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.5556, allocations: 210 kB / 1.417 GB, free: 1.82 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.5574, allocations: 0.5884 MB / 1.418 GB, free: 1.234 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.5596, allocations: 0.8715 MB / 1.419 GB, free: 376 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.5614, allocations: 1.491 MB / 1.42 GB, free: 14.87 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.5622, allocations: 458.3 kB / 1.421 GB, free: 14.39 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008486/0.563, allocations: 0.5529 MB / 1.421 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007854/0.5638, allocations: 0.4976 MB / 1.422 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.564, allocations: 128 kB / 1.422 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.5651, allocations: 0.5035 MB / 1.422 GB, free: 12.71 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.5654, allocations: 326.9 kB / 1.423 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.5659, allocations: 0.5016 MB / 1.423 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.5682, allocations: 1.813 MB / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5682, allocations: 0 / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5682, allocations: 0 / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.5682, allocations: 0 / 1.425 GB, free: 10.07 MB / 1.123 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.002907/0.5711, allocations: 1.493 MB / 1.426 GB, free: 8.539 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5712, allocations: 12.03 kB / 1.426 GB, free: 8.527 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.5737, allocations: 367.8 kB / 1.427 GB, free: 8.168 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.5752, allocations: 0.7453 MB / 1.427 GB, free: 7.395 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/0.5753, allocations: 74 kB / 1.428 GB, free: 7.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.5755, allocations: 99.98 kB / 1.428 GB, free: 7.223 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.5779, allocations: 1.321 MB / 1.429 GB, free: 5.805 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.5779, allocations: 0 / 1.429 GB, free: 5.805 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.578, allocations: 40 kB / 1.429 GB, free: 5.766 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.578, allocations: 28 kB / 1.429 GB, free: 5.738 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.5806, allocations: 1.229 MB / 1.43 GB, free: 4.508 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.5854, allocations: 2.257 MB / 1.432 GB, free: 2.203 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/0.5882, allocations: 0.8949 MB / 1.433 GB, free: 1.297 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000846/0.5891, allocations: 334.6 kB / 1.434 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-05/0.5891, allocations: 28.62 kB / 1.434 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.5905, allocations: 0.6688 MB / 1.434 GB, free: 232 kB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 3.006e-06/0.5905, allocations: 0 / 1.434 GB, free: 232 kB / 1.123 GB Notification: Performance of matching and sorting (n=84): time 0.004249/0.5947, allocations: 1.305 MB / 1.436 GB, free: 14.91 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.5949, allocations: 192.9 kB / 1.436 GB, free: 14.68 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.5958, allocations: 0.5978 MB / 1.436 GB, free: 14.07 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.051e-05/0.5959, allocations: 45.64 kB / 1.436 GB, free: 14.02 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.5963, allocations: 445 kB / 1.437 GB, free: 13.58 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.5966, allocations: 285.6 kB / 1.437 GB, free: 13.3 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.5968, allocations: 166.6 kB / 1.437 GB, free: 13.13 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.5971, allocations: 382.8 kB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/0.5979, allocations: 329.8 kB / 1.438 GB, free: 12.43 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.599, allocations: 0.5347 MB / 1.438 GB, free: 11.85 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.6007, allocations: 0.7177 MB / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6007, allocations: 0 / 1.439 GB, free: 11.12 MB / 1.139 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002722/0.6035, allocations: 0.9625 MB / 1.44 GB, free: 10.15 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.6035, allocations: 15.94 kB / 1.44 GB, free: 10.13 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6035, allocations: 3.938 kB / 1.44 GB, free: 10.13 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.6041, allocations: 84.77 kB / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.605, allocations: 183.8 kB / 1.44 GB, free: 9.863 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.6074, allocations: 1.495 MB / 1.442 GB, free: 8.262 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.6083, allocations: 118 kB / 1.442 GB, free: 8.148 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/0.6084, allocations: 47.84 kB / 1.442 GB, free: 8.102 MB / 1.139 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.0005723/0.609, allocations: 271.5 kB / 1.442 GB, free: 7.828 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.6092, allocations: 87.44 kB / 1.442 GB, free: 7.742 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.6123, allocations: 1.202 MB / 1.443 GB, free: 6.523 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6123, allocations: 12 kB / 1.443 GB, free: 6.512 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6123, allocations: 0 / 1.443 GB, free: 6.512 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.6123, allocations: 3.984 kB / 1.444 GB, free: 6.508 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.6164, allocations: 1.867 MB / 1.445 GB, free: 4.598 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6164, allocations: 0 / 1.445 GB, free: 4.598 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/0.6172, allocations: 175.8 kB / 1.445 GB, free: 4.426 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/0.6177, allocations: 68.8 kB / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.6178, allocations: 31.97 kB / 1.446 GB, free: 4.324 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.6199, allocations: 1.528 MB / 1.447 GB, free: 2.691 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6199, allocations: 0 / 1.447 GB, free: 2.691 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002759/0.6226, allocations: 1.123 MB / 1.448 GB, free: 1.547 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/0.6231, allocations: 207.1 kB / 1.448 GB, free: 1.344 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.6233, allocations: 20 kB / 1.448 GB, free: 1.324 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.6241, allocations: 79.91 kB / 1.448 GB, free: 1.246 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.6243, allocations: 76.86 kB / 1.449 GB, free: 1.172 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.6244, allocations: 43.97 kB / 1.449 GB, free: 1.129 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006885/0.6251, allocations: 431 kB / 1.449 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6251, allocations: 0 / 1.449 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001053/0.6261, allocations: 366.9 kB / 1.449 GB, free: 364 kB / 1.139 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.002169/0.6283, allocations: 0.6416 MB / 1.45 GB, free: 15.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002467/0.6308, allocations: 0.9172 MB / 1.451 GB, free: 14.98 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6308, allocations: 0 / 1.451 GB, free: 14.98 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.6321, allocations: 0.5548 MB / 1.451 GB, free: 14.42 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6334, allocations: 298.5 kB / 1.452 GB, free: 14.14 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.637, allocations: 1.833 MB / 1.453 GB, free: 12.29 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.6376, allocations: 470 kB / 1.454 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009001/0.6385, allocations: 270.6 kB / 1.454 GB, free: 11.52 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.6388, allocations: 107.4 kB / 1.454 GB, free: 11.41 MB / 1.154 GB Notification: Performance of SimCode: time 8.21e-07/0.6388, allocations: 0 / 1.454 GB, free: 11.41 MB / 1.154 GB Notification: Performance of Templates: time 0.03122/0.67, allocations: 16.99 MB / 1.471 GB, free: 10.7 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.094789884984493]