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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_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_latest_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.0009685/0.0009686, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001132/0.001132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.12/3.12, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 8.094 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4355, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006402/0.4419, allocations: 4.486 MB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.6133, allocations: 136.9 MB / 1.196 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009855/0.6143, allocations: 11.94 kB / 1.196 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008679/0.6152, allocations: 150.8 kB / 1.196 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.6177, allocations: 477.7 kB / 1.197 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.6203, allocations: 0.6422 MB / 1.197 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.6229, allocations: 1.265 MB / 1.199 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.6241, allocations: 0.5119 MB / 1.199 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008254/0.6249, allocations: 362.4 kB / 1.199 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006166/0.6255, allocations: 402 kB / 1.2 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.6256, allocations: 28 kB / 1.2 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.6269, allocations: 339.6 kB / 1.2 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.6272, allocations: 187.2 kB / 1.2 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.6275, allocations: 221 kB / 1.201 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.6292, allocations: 1.255 MB / 1.202 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6292, allocations: 3.938 kB / 1.202 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6292, allocations: 0 / 1.202 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.6292, allocations: 0 / 1.202 GB, free: 1.742 MB / 0.9512 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.002625/0.6319, allocations: 1.282 MB / 1.203 GB, free: 424 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6319, allocations: 8.031 kB / 1.203 GB, free: 416 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.6335, allocations: 322.2 kB / 1.203 GB, free: 92 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.6346, allocations: 0.738 MB / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.6347, allocations: 70 kB / 1.204 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.6349, allocations: 99.98 kB / 1.204 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002048/0.6369, allocations: 1.062 MB / 1.205 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.6369, allocations: 0 / 1.205 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.003e-05/0.637, allocations: 44 kB / 1.205 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.6371, allocations: 24 kB / 1.205 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.6393, allocations: 1.272 MB / 1.207 GB, free: 12.7 MB / 0.9669 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.004759/0.6441, allocations: 3.017 MB / 1.209 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.6464, allocations: 1.027 MB / 1.21 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.6472, allocations: 370.5 kB / 1.211 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-05/0.6473, allocations: 28.61 kB / 1.211 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.6484, allocations: 0.5627 MB / 1.211 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/0.6485, allocations: 0 / 1.211 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84): time 0.003574/0.652, allocations: 1.388 MB / 1.213 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.6522, allocations: 188.9 kB / 1.213 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.6529, allocations: 0.6487 MB / 1.214 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.653, allocations: 45.7 kB / 1.214 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.6534, allocations: 424.3 kB / 1.214 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.6537, allocations: 268.1 kB / 1.214 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.6537, allocations: 16 kB / 1.214 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.6539, allocations: 394.7 kB / 1.215 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.6546, allocations: 321.8 kB / 1.215 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.6554, allocations: 423 kB / 1.215 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.6562, allocations: 362.9 kB / 1.216 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6562, allocations: 0 / 1.216 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002245/0.6584, allocations: 0.9697 MB / 1.217 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6585, allocations: 8.094 kB / 1.217 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6585, allocations: 7.938 kB / 1.217 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005261/0.659, allocations: 88.73 kB / 1.217 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/0.6598, allocations: 187.8 kB / 1.217 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.6619, allocations: 1.529 MB / 1.218 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008828/0.6628, allocations: 129.4 kB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.6629, allocations: 39.97 kB / 1.219 GB, free: 15.89 MB / 0.9825 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004927/0.6634, allocations: 271.4 kB / 1.219 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.6635, allocations: 83.16 kB / 1.219 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.6663, allocations: 1.218 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6664, allocations: 12 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6664, allocations: 3.938 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.6664, allocations: 3.984 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.67, allocations: 2.14 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.67, allocations: 0 / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/0.6708, allocations: 175.7 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.6712, allocations: 84.77 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.6713, allocations: 27.98 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.6731, allocations: 1.544 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6731, allocations: 7.984 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.6754, allocations: 1.117 MB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/0.6758, allocations: 299.6 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.6759, allocations: 16 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/0.6767, allocations: 103.8 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6768, allocations: 80.89 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.677, allocations: 35.97 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005445/0.6775, allocations: 459 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6775, allocations: 0 / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009837/0.6785, allocations: 347.1 kB / 1.226 GB, free: 7.641 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/0.6799, allocations: 0.6044 MB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.6819, allocations: 0.9563 MB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.682, allocations: 0 / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.683, allocations: 0.5782 MB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6842, allocations: 263.1 kB / 1.229 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.6879, allocations: 2.214 MB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.6886, allocations: 1.048 MB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001022/0.6896, allocations: 282.9 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.6899, allocations: 107.4 kB / 1.232 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of SimCode: time 1.593e-06/0.6899, allocations: 0 / 1.232 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of Templates: time 0.02833/0.7182, allocations: 14.71 MB / 1.247 GB, free: 3.191 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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