Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008365/0.008364, allocations: 101.6 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 195.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.12 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2822, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006674/0.2889, allocations: 5.163 MB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7523/1.041, allocations: 150.7 MB / 1.359 GB, free: 9.164 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009246/1.042, allocations: 15.66 kB / 1.359 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008244/1.043, allocations: 202 kB / 1.36 GB, free: 9.031 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/1.045, allocations: 0.5618 MB / 1.36 GB, free: 8.707 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/1.048, allocations: 0.8592 MB / 1.361 GB, free: 8.262 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002293/1.05, allocations: 1.46 MB / 1.362 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/1.051, allocations: 0.6598 MB / 1.363 GB, free: 7.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/1.053, allocations: 0.5216 MB / 1.364 GB, free: 6.902 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/1.054, allocations: 0.5505 MB / 1.364 GB, free: 6.609 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003684/1.054, allocations: 127 kB / 1.364 GB, free: 6.609 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/1.056, allocations: 497.9 kB / 1.365 GB, free: 6.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/1.056, allocations: 323.1 kB / 1.365 GB, free: 6.293 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009975/1.057, allocations: 0.618 MB / 1.366 GB, free: 5.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/1.06, allocations: 1.751 MB / 1.367 GB, free: 5.141 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.06, allocations: 1.062 kB / 1.367 GB, free: 5.141 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.883e-06/1.06, allocations: 0 / 1.367 GB, free: 5.141 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.736e-05/1.06, allocations: 0 / 1.367 GB, free: 5.141 MB / 1.061 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.003544/1.063, allocations: 1.513 MB / 1.369 GB, free: 4.129 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.063, allocations: 10.09 kB / 1.369 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/1.064, allocations: 160.4 kB / 1.369 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.065, allocations: 306.5 kB / 1.369 GB, free: 3.949 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/1.067, allocations: 0.7888 MB / 1.37 GB, free: 3.441 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/1.067, allocations: 74.25 kB / 1.37 GB, free: 3.406 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.067, allocations: 93.97 kB / 1.37 GB, free: 3.375 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/1.069, allocations: 1.074 MB / 1.371 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/1.069, allocations: 0 / 1.371 GB, free: 2.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/1.069, allocations: 40.94 kB / 1.371 GB, free: 2.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/1.069, allocations: 23.75 kB / 1.371 GB, free: 2.883 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/1.071, allocations: 1.271 MB / 1.373 GB, free: 2.359 MB / 1.061 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.0046/1.076, allocations: 2.947 MB / 1.375 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/1.078, allocations: 1.024 MB / 1.376 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007533/1.079, allocations: 366.3 kB / 1.377 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/1.079, allocations: 35.86 kB / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.08, allocations: 0.5578 MB / 1.377 GB, free: 14.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 2.274e-06/1.08, allocations: 4 kB / 1.377 GB, free: 14.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=84): time 0.00385/1.084, allocations: 1.378 MB / 1.379 GB, free: 14.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.084, allocations: 192.9 kB / 1.379 GB, free: 13.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/1.085, allocations: 0.6368 MB / 1.38 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/1.085, allocations: 45.89 kB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00033/1.086, allocations: 429.9 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.086, allocations: 269.5 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/1.086, allocations: 154 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.086, allocations: 389.7 kB / 1.381 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006994/1.087, allocations: 303.1 kB / 1.381 GB, free: 12.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008155/1.088, allocations: 417.8 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/1.089, allocations: 0.6898 MB / 1.382 GB, free: 11.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.089, allocations: 0 / 1.382 GB, free: 11.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002406/1.092, allocations: 0.9232 MB / 1.383 GB, free: 11.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.092, allocations: 7.062 kB / 1.383 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.092, allocations: 1.375 kB / 1.383 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/1.092, allocations: 83.48 kB / 1.383 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/1.093, allocations: 186.2 kB / 1.383 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/1.095, allocations: 1.634 MB / 1.385 GB, free: 9.574 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/1.096, allocations: 109.5 kB / 1.385 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/1.096, allocations: 37.77 kB / 1.385 GB, free: 9.496 MB / 1.076 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.0005251/1.097, allocations: 276.9 kB / 1.385 GB, free: 9.277 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/1.097, allocations: 83.44 kB / 1.385 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/1.1, allocations: 1.207 MB / 1.387 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.1, allocations: 10.28 kB / 1.387 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.1, allocations: 0 / 1.387 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.1, allocations: 3.984 kB / 1.387 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004353/1.105, allocations: 2.15 MB / 1.389 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.105, allocations: 0 / 1.389 GB, free: 7.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000741/1.105, allocations: 174.9 kB / 1.389 GB, free: 7.117 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/1.106, allocations: 74.44 kB / 1.389 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/1.106, allocations: 24.11 kB / 1.389 GB, free: 7.062 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.108, allocations: 1.661 MB / 1.391 GB, free: 5.441 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.108, allocations: 7.922 kB / 1.391 GB, free: 5.434 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/1.111, allocations: 1.11 MB / 1.392 GB, free: 4.832 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/1.111, allocations: 281.1 kB / 1.392 GB, free: 4.586 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.111, allocations: 26.75 kB / 1.392 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/1.112, allocations: 83.72 kB / 1.392 GB, free: 4.527 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.113, allocations: 79.58 kB / 1.392 GB, free: 4.484 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-05/1.113, allocations: 39.58 kB / 1.392 GB, free: 4.469 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006734/1.113, allocations: 470.7 kB / 1.393 GB, free: 4.203 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/1.113, allocations: 0 / 1.393 GB, free: 4.203 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001217/1.115, allocations: 341.6 kB / 1.393 GB, free: 4.105 MB / 1.076 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.004205/1.119, allocations: 2.171 MB / 1.395 GB, free: 2.773 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002121/1.121, allocations: 0.9189 MB / 1.396 GB, free: 2.305 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.121, allocations: 0 / 1.396 GB, free: 2.305 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/1.122, allocations: 0.5822 MB / 1.396 GB, free: 1.98 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/1.123, allocations: 303 kB / 1.397 GB, free: 1.828 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.135, allocations: 6.728 MB / 1.403 GB, free: 13.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/1.136, allocations: 1.055 MB / 1.404 GB, free: 12.41 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009352/1.137, allocations: 278.9 kB / 1.405 GB, free: 12.13 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/1.138, allocations: 419.3 kB / 1.405 GB, free: 11.72 MB / 1.092 GB Notification: Performance of SimCode: time 1.002e-06/1.138, allocations: 0 / 1.405 GB, free: 11.72 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/1.192, allocations: 23.12 MB / 1.428 GB, free: 4.973 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.7, allocations: 9.516 kB / 1.428 GB, free: 4.969 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches