Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001761/0.001761, allocations: 108.8 kB / 16.45 MB, free: 6.035 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.002013/0.002013, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 67.89 kB / 1.056 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.8311, allocations: 160.7 MB / 1.213 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008316/0.8394, allocations: 5.206 MB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1919/1.031, allocations: 151.1 MB / 1.366 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/1.033, allocations: 15.94 kB / 1.366 GB, free: 11.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007032/1.033, allocations: 202 kB / 1.366 GB, free: 11.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/1.035, allocations: 0.5744 MB / 1.366 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/1.038, allocations: 0.8609 MB / 1.367 GB, free: 9.695 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002069/1.04, allocations: 1.46 MB / 1.369 GB, free: 8.227 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/1.041, allocations: 477.5 kB / 1.369 GB, free: 7.734 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008567/1.042, allocations: 0.5295 MB / 1.37 GB, free: 7.203 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007915/1.042, allocations: 0.5523 MB / 1.37 GB, free: 6.648 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/1.043, allocations: 132 kB / 1.37 GB, free: 6.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/1.044, allocations: 495.6 kB / 1.371 GB, free: 6.035 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/1.044, allocations: 319 kB / 1.371 GB, free: 5.723 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006435/1.045, allocations: 0.618 MB / 1.372 GB, free: 5.102 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/1.047, allocations: 1.759 MB / 1.373 GB, free: 3.336 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.047, allocations: 0 / 1.373 GB, free: 3.336 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.294e-06/1.047, allocations: 0 / 1.373 GB, free: 3.336 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.654e-05/1.047, allocations: 0 / 1.373 GB, free: 3.336 MB / 1.076 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.00327/1.051, allocations: 1.549 MB / 1.375 GB, free: 1.734 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.051, allocations: 12.56 kB / 1.375 GB, free: 1.723 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/1.051, allocations: 152.3 kB / 1.375 GB, free: 1.566 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.053, allocations: 311.9 kB / 1.375 GB, free: 1.262 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.054, allocations: 0.7932 MB / 1.376 GB, free: 436 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/1.054, allocations: 74 kB / 1.376 GB, free: 364 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/1.054, allocations: 96 kB / 1.376 GB, free: 268 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/1.057, allocations: 1.07 MB / 1.377 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.057, allocations: 4 kB / 1.377 GB, free: 15.14 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.057, allocations: 40 kB / 1.377 GB, free: 15.11 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/1.057, allocations: 27.94 kB / 1.377 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/1.059, allocations: 1.264 MB / 1.379 GB, free: 13.81 MB / 1.092 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.005683/1.065, allocations: 2.963 MB / 1.381 GB, free: 10.72 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/1.068, allocations: 0.981 MB / 1.382 GB, free: 9.723 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/1.069, allocations: 334.6 kB / 1.383 GB, free: 9.391 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.055e-05/1.069, allocations: 38.42 kB / 1.383 GB, free: 9.355 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/1.07, allocations: 0.5549 MB / 1.383 GB, free: 8.785 MB / 1.092 GB Notification: Performance of pre-optimization done (n=84): time 2.355e-06/1.07, allocations: 0 / 1.383 GB, free: 8.785 MB / 1.092 GB Notification: Performance of matching and sorting (n=84): time 0.004207/1.074, allocations: 1.388 MB / 1.385 GB, free: 7.371 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/1.074, allocations: 196.9 kB / 1.385 GB, free: 7.133 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009024/1.075, allocations: 0.6371 MB / 1.385 GB, free: 6.492 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.68e-05/1.075, allocations: 45.7 kB / 1.386 GB, free: 6.441 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/1.076, allocations: 437 kB / 1.386 GB, free: 6.008 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/1.076, allocations: 281.6 kB / 1.386 GB, free: 5.73 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.076, allocations: 150.6 kB / 1.386 GB, free: 5.578 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002166/1.076, allocations: 390.7 kB / 1.387 GB, free: 5.188 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/1.077, allocations: 301.8 kB / 1.387 GB, free: 4.895 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/1.078, allocations: 422.4 kB / 1.387 GB, free: 4.453 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/1.08, allocations: 0.6867 MB / 1.388 GB, free: 3.758 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.08, allocations: 0 / 1.388 GB, free: 3.758 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002442/1.082, allocations: 0.931 MB / 1.389 GB, free: 2.816 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.082, allocations: 6.5 kB / 1.389 GB, free: 2.812 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.082, allocations: 0 / 1.389 GB, free: 2.812 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/1.083, allocations: 80.86 kB / 1.389 GB, free: 2.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/1.084, allocations: 183.7 kB / 1.389 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/1.086, allocations: 1.63 MB / 1.391 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/1.087, allocations: 115.5 kB / 1.391 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/1.087, allocations: 32.05 kB / 1.391 GB, free: 0.6328 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (90): * Single equations (assignments): 89 * 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.0004903/1.087, allocations: 273.6 kB / 1.391 GB, free: 364 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.088, allocations: 95.44 kB / 1.391 GB, free: 268 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/1.091, allocations: 1.202 MB / 1.393 GB, free: 15.04 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/1.091, allocations: 12 kB / 1.393 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.091, allocations: 4 kB / 1.393 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.091, allocations: 3.984 kB / 1.393 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/1.095, allocations: 2.149 MB / 1.395 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/1.095, allocations: 0 / 1.395 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/1.096, allocations: 171.8 kB / 1.395 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/1.096, allocations: 72.72 kB / 1.395 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/1.096, allocations: 27.97 kB / 1.395 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/1.098, allocations: 1.666 MB / 1.397 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.098, allocations: 0 / 1.397 GB, free: 10.73 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/1.101, allocations: 1.127 MB / 1.398 GB, free: 9.586 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/1.102, allocations: 280.2 kB / 1.398 GB, free: 9.293 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/1.102, allocations: 23.98 kB / 1.398 GB, free: 9.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/1.102, allocations: 83.92 kB / 1.398 GB, free: 9.188 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.103, allocations: 72.83 kB / 1.398 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/1.103, allocations: 39.97 kB / 1.398 GB, free: 9.078 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000656/1.103, allocations: 467 kB / 1.399 GB, free: 8.625 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.103, allocations: 0 / 1.399 GB, free: 8.625 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009621/1.104, allocations: 347.1 kB / 1.399 GB, free: 8.285 MB / 1.107 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.004911/1.109, allocations: 2.185 MB / 1.401 GB, free: 6.262 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002321/1.112, allocations: 0.886 MB / 1.402 GB, free: 5.359 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.112, allocations: 4 kB / 1.402 GB, free: 5.355 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.113, allocations: 0.5548 MB / 1.402 GB, free: 4.789 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.114, allocations: 310.8 kB / 1.403 GB, free: 4.508 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.127, allocations: 6.755 MB / 1.409 GB, free: 13.6 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008343/1.128, allocations: 1.051 MB / 1.41 GB, free: 12.52 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009703/1.129, allocations: 282.8 kB / 1.411 GB, free: 12.23 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006432/1.129, allocations: 423.2 kB / 1.411 GB, free: 11.82 MB / 1.123 GB Notification: Performance of SimCode: time 7.11e-07/1.129, allocations: 0 / 1.411 GB, free: 11.82 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06399/1.193, allocations: 22.81 MB / 1.433 GB, free: 5.242 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.58, allocations: 5.719 kB / 1.433 GB, free: 5.238 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 20.55160319013521]