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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001513, allocations: 111.9 kB / 16.41 MB, free: 6.469 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.001793/0.001793, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.411/2.411, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8476, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007227/0.8549, allocations: 5.18 MB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1589/1.014, allocations: 150.7 MB / 1.319 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007751/1.015, allocations: 23.81 kB / 1.32 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007112/1.015, allocations: 202.1 kB / 1.32 GB, free: 7.129 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/1.017, allocations: 0.5632 MB / 1.32 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/1.02, allocations: 0.8578 MB / 1.321 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001766/1.021, allocations: 1.46 MB / 1.323 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/1.022, allocations: 0.6653 MB / 1.323 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007848/1.023, allocations: 0.5256 MB / 1.324 GB, free: 3.031 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007809/1.024, allocations: 0.5523 MB / 1.324 GB, free: 2.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002509/1.024, allocations: 128 kB / 1.324 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009766/1.025, allocations: 499.6 kB / 1.325 GB, free: 1.863 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/1.026, allocations: 315 kB / 1.325 GB, free: 1.555 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006596/1.026, allocations: 0.6103 MB / 1.326 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/1.028, allocations: 1.754 MB / 1.327 GB, free: 15.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.028, allocations: 0 / 1.327 GB, free: 15.18 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.694e-06/1.028, allocations: 0 / 1.327 GB, free: 15.18 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.723e-05/1.029, allocations: 4 kB / 1.327 GB, free: 15.18 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.003495/1.032, allocations: 1.512 MB / 1.329 GB, free: 13.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.032, allocations: 12.03 kB / 1.329 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/1.034, allocations: 303.2 kB / 1.329 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.036, allocations: 0.7811 MB / 1.33 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/1.036, allocations: 74 kB / 1.33 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/1.036, allocations: 92 kB / 1.33 GB, free: 12.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/1.038, allocations: 1.081 MB / 1.331 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/1.038, allocations: 0 / 1.331 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.038, allocations: 36 kB / 1.331 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.038, allocations: 24 kB / 1.331 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/1.041, allocations: 1.272 MB / 1.332 GB, free: 9.871 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.005376/1.046, allocations: 2.943 MB / 1.335 GB, free: 6.797 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/1.049, allocations: 1.032 MB / 1.336 GB, free: 5.746 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/1.05, allocations: 362.6 kB / 1.337 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.332e-05/1.05, allocations: 36.59 kB / 1.337 GB, free: 5.352 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/1.051, allocations: 0.5606 MB / 1.337 GB, free: 4.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 3.126e-06/1.051, allocations: 0 / 1.337 GB, free: 4.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=84): time 0.004244/1.055, allocations: 1.384 MB / 1.339 GB, free: 3.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.055, allocations: 196.9 kB / 1.339 GB, free: 3.129 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/1.056, allocations: 0.6372 MB / 1.339 GB, free: 2.484 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/1.056, allocations: 41.7 kB / 1.339 GB, free: 2.438 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/1.057, allocations: 428.2 kB / 1.34 GB, free: 2.012 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/1.057, allocations: 276.1 kB / 1.34 GB, free: 1.738 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.057, allocations: 170.5 kB / 1.34 GB, free: 1.566 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.057, allocations: 382.8 kB / 1.341 GB, free: 1.184 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/1.058, allocations: 329.8 kB / 1.341 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008854/1.059, allocations: 423 kB / 1.341 GB, free: 444 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.061, allocations: 0.714 MB / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.061, allocations: 0 / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002494/1.063, allocations: 0.9698 MB / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.063, allocations: 4 kB / 1.343 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.063, allocations: 4 kB / 1.343 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/1.064, allocations: 80.88 kB / 1.343 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/1.065, allocations: 183.7 kB / 1.343 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/1.067, allocations: 1.647 MB / 1.345 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/1.068, allocations: 119.3 kB / 1.345 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/1.068, allocations: 35.97 kB / 1.345 GB, free: 12.52 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: 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.0005214/1.069, allocations: 271.4 kB / 1.345 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/1.069, allocations: 86.97 kB / 1.345 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/1.072, allocations: 1.202 MB / 1.347 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/1.072, allocations: 12 kB / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.072, allocations: 0 / 1.347 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.072, allocations: 7.984 kB / 1.347 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/1.076, allocations: 2.133 MB / 1.349 GB, free: 8.723 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.076, allocations: 0 / 1.349 GB, free: 8.723 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/1.077, allocations: 175.8 kB / 1.349 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/1.077, allocations: 72.78 kB / 1.349 GB, free: 8.477 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/1.077, allocations: 31.92 kB / 1.349 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/1.08, allocations: 1.662 MB / 1.351 GB, free: 6.641 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.08, allocations: 4.031 kB / 1.351 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/1.082, allocations: 1.119 MB / 1.352 GB, free: 5.496 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/1.083, allocations: 275.7 kB / 1.352 GB, free: 5.207 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/1.083, allocations: 23.94 kB / 1.352 GB, free: 5.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/1.084, allocations: 87.84 kB / 1.352 GB, free: 5.098 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.084, allocations: 84.77 kB / 1.352 GB, free: 5.016 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/1.084, allocations: 35.97 kB / 1.352 GB, free: 4.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006997/1.085, allocations: 463 kB / 1.353 GB, free: 4.531 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.91e-07/1.085, allocations: 0 / 1.353 GB, free: 4.531 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001057/1.086, allocations: 347.1 kB / 1.353 GB, free: 4.191 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.00147/1.087, allocations: 0.6049 MB / 1.354 GB, free: 3.754 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002306/1.09, allocations: 0.9524 MB / 1.354 GB, free: 2.789 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.09, allocations: 0 / 1.354 GB, free: 2.789 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/1.091, allocations: 0.5783 MB / 1.355 GB, free: 2.199 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.092, allocations: 315.1 kB / 1.355 GB, free: 1.914 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/1.096, allocations: 1.824 MB / 1.357 GB, free: 60 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007484/1.097, allocations: 1.047 MB / 1.358 GB, free: 14.98 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.097, allocations: 119.4 kB / 1.358 GB, free: 14.86 MB / 1.092 GB Notification: Performance of SimCode: time 2.285e-06/1.097, allocations: 4 kB / 1.358 GB, free: 14.86 MB / 1.092 GB Notification: Performance of Templates: time 0.02784/1.125, allocations: 19.83 MB / 1.378 GB, free: 11.05 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time