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.0008423/0.0008424, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 8.719 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005824/0.3332, allocations: 4.742 MB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1627/0.4959, allocations: 146.8 MB / 1.207 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.497, allocations: 15.88 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.4978, allocations: 158.8 kB / 1.207 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.5002, allocations: 483.9 kB / 1.208 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.5032, allocations: 0.7455 MB / 1.209 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.5056, allocations: 1.362 MB / 1.21 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.5069, allocations: 0.6292 MB / 1.211 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.5078, allocations: 366.2 kB / 1.211 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000802/0.5086, allocations: 421.7 kB / 1.211 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.5088, allocations: 28 kB / 1.211 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.5099, allocations: 367.6 kB / 1.212 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.5102, allocations: 195.1 kB / 1.212 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007085/0.5109, allocations: 0.5064 MB / 1.212 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.5127, allocations: 1.262 MB / 1.214 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5127, allocations: 0 / 1.214 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5127, allocations: 0 / 1.214 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.023e-05/0.5128, allocations: 0 / 1.214 GB, free: 6.348 MB / 0.9669 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.002949/0.5157, allocations: 1.278 MB / 1.215 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5158, allocations: 11.97 kB / 1.215 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.5177, allocations: 319.1 kB / 1.215 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.5192, allocations: 0.7578 MB / 1.216 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/0.5193, allocations: 70 kB / 1.216 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.5195, allocations: 103.9 kB / 1.216 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.5219, allocations: 1.07 MB / 1.217 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.5219, allocations: 3.984 kB / 1.217 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.5221, allocations: 44 kB / 1.217 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.5221, allocations: 31.98 kB / 1.217 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.5247, allocations: 1.268 MB / 1.218 GB, free: 1.273 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.005699/0.5304, allocations: 3.008 MB / 1.221 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.5332, allocations: 1.028 MB / 1.222 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008782/0.5341, allocations: 370.6 kB / 1.223 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.568e-05/0.5342, allocations: 36.59 kB / 1.223 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.5355, allocations: 0.5641 MB / 1.223 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 5.5e-06/0.5355, allocations: 3.984 kB / 1.223 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.004143/0.5396, allocations: 1.403 MB / 1.225 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.5398, allocations: 192.9 kB / 1.225 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.5408, allocations: 0.641 MB / 1.226 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-05/0.5409, allocations: 41.7 kB / 1.226 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/0.5413, allocations: 424.2 kB / 1.226 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.5416, allocations: 280 kB / 1.226 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.5417, allocations: 73.67 kB / 1.226 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5419, allocations: 386.8 kB / 1.227 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008326/0.5428, allocations: 329.8 kB / 1.227 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009246/0.5437, allocations: 431 kB / 1.227 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.5454, allocations: 0.7179 MB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5454, allocations: 0 / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002636/0.5481, allocations: 0.9776 MB / 1.229 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5481, allocations: 4 kB / 1.229 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5481, allocations: 7.938 kB / 1.229 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.5487, allocations: 84.86 kB / 1.229 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/0.5496, allocations: 191.7 kB / 1.229 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.5519, allocations: 1.516 MB / 1.231 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.553, allocations: 129.3 kB / 1.231 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.5531, allocations: 43.98 kB / 1.231 GB, free: 4 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 (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.0006271/0.5537, allocations: 283.5 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.554, allocations: 82.97 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/0.5572, allocations: 1.21 MB / 1.232 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.5572, allocations: 12 kB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5572, allocations: 0 / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5572, allocations: 3.984 kB / 1.232 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004274/0.5615, allocations: 2.155 MB / 1.235 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5615, allocations: 0 / 1.235 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/0.5623, allocations: 175.8 kB / 1.235 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005483/0.5629, allocations: 92.69 kB / 1.235 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.563, allocations: 23.98 kB / 1.235 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.5649, allocations: 1.54 MB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.565, allocations: 0 / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/0.5677, allocations: 1.133 MB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.5683, allocations: 299.6 kB / 1.238 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.5685, allocations: 20 kB / 1.238 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.5695, allocations: 107.9 kB / 1.238 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.5697, allocations: 72.83 kB / 1.238 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/0.5698, allocations: 35.98 kB / 1.238 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007303/0.5705, allocations: 467 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5705, allocations: 0 / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001118/0.5716, allocations: 347.1 kB / 1.239 GB, free: 11.72 MB / 0.9981 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.001549/0.5732, allocations: 0.6147 MB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.5756, allocations: 0.9641 MB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.5756, allocations: 0 / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.5769, allocations: 0.5899 MB / 1.241 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.5784, allocations: 284.5 kB / 1.241 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.5822, allocations: 2.309 MB / 1.243 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.583, allocations: 1.052 MB / 1.244 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.5834, allocations: 119.4 kB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/0.5834, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Templates: time 0.5567/1.14, allocations: 19.6 MB / 1.264 GB, free: 185.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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