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: 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.001698/0.001698, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002019/0.002019, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.884/2.884, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.72 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006956/0.3498, allocations: 5.171 MB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1651/0.515, allocations: 148.3 MB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.5165, allocations: 19.94 kB / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.5175, allocations: 162.8 kB / 1.202 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.5199, allocations: 483.4 kB / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.5223, allocations: 0.745 MB / 1.203 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5245, allocations: 1.362 MB / 1.205 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.5259, allocations: 0.6525 MB / 1.205 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.5272, allocations: 462.1 kB / 1.206 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.5285, allocations: 0.5133 MB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004251/0.5289, allocations: 75.98 kB / 1.206 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.5305, allocations: 403.7 kB / 1.207 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.531, allocations: 270.9 kB / 1.207 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.5322, allocations: 0.5478 MB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.5349, allocations: 1.651 MB / 1.209 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.535, allocations: 0 / 1.209 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.535, allocations: 0 / 1.209 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.956e-05/0.535, allocations: 0 / 1.209 GB, free: 7.398 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.004155/0.5392, allocations: 1.512 MB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.5393, allocations: 12.03 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.5414, allocations: 303.2 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.5433, allocations: 0.7694 MB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.956e-05/0.5434, allocations: 66 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.5436, allocations: 96 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.5463, allocations: 1.066 MB / 1.213 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5463, allocations: 0 / 1.213 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5464, allocations: 44 kB / 1.213 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.5465, allocations: 24 kB / 1.213 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002867/0.5493, allocations: 1.276 MB / 1.214 GB, free: 2.117 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.005694/0.555, allocations: 2.979 MB / 1.217 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002893/0.558, allocations: 1.02 MB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000837/0.5588, allocations: 366.6 kB / 1.218 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.552e-05/0.5589, allocations: 40.59 kB / 1.218 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.5602, allocations: 0.5528 MB / 1.219 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.5602, allocations: 0 / 1.219 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.004186/0.5644, allocations: 1.384 MB / 1.22 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.5645, allocations: 192.9 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.5654, allocations: 0.6448 MB / 1.221 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.132e-05/0.5656, allocations: 41.7 kB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.5659, allocations: 420.3 kB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.5662, allocations: 284 kB / 1.222 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.5665, allocations: 166.5 kB / 1.222 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5666, allocations: 390.7 kB / 1.222 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008176/0.5675, allocations: 325.8 kB / 1.223 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/0.5684, allocations: 423 kB / 1.223 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.5701, allocations: 0.7101 MB / 1.224 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5701, allocations: 0 / 1.224 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002653/0.5728, allocations: 0.9697 MB / 1.225 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5728, allocations: 12.03 kB / 1.225 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5728, allocations: 4.062 kB / 1.225 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.5735, allocations: 88.77 kB / 1.225 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/0.5744, allocations: 179.8 kB / 1.225 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.5765, allocations: 1.525 MB / 1.227 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5776, allocations: 115.4 kB / 1.227 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.5777, allocations: 39.97 kB / 1.227 GB, free: 4.848 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.0006415/0.5784, allocations: 275.4 kB / 1.227 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.5787, allocations: 82.97 kB / 1.227 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.5819, allocations: 1.21 MB / 1.228 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.5819, allocations: 8 kB / 1.228 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5819, allocations: 0 / 1.228 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.582, allocations: 3.984 kB / 1.228 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.5862, allocations: 2.151 MB / 1.23 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5863, allocations: 0 / 1.23 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/0.5871, allocations: 171.8 kB / 1.23 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005949/0.5877, allocations: 84.77 kB / 1.231 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.5878, allocations: 27.98 kB / 1.231 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.5899, allocations: 1.551 MB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.59, allocations: 0 / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.5928, allocations: 1.117 MB / 1.233 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.5934, allocations: 283.7 kB / 1.233 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.5937, allocations: 23.98 kB / 1.234 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5947, allocations: 87.78 kB / 1.234 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.5949, allocations: 72.89 kB / 1.234 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/0.595, allocations: 39.97 kB / 1.234 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007334/0.5958, allocations: 467 kB / 1.234 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5958, allocations: 0 / 1.234 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001143/0.5969, allocations: 343.2 kB / 1.234 GB, free: 12.63 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.001552/0.5985, allocations: 0.6012 MB / 1.235 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002747/0.6013, allocations: 0.9562 MB / 1.236 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6013, allocations: 0 / 1.236 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.6027, allocations: 0.5821 MB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6045, allocations: 273 kB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.6088, allocations: 2.261 MB / 1.239 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.6095, allocations: 1.048 MB / 1.24 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001427/0.6109, allocations: 282.9 kB / 1.24 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.6113, allocations: 111.4 kB / 1.24 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of SimCode: time 3.767e-06/0.6113, allocations: 0 / 1.24 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of Templates: time 0.5749/1.186, allocations: 15.22 MB / 1.255 GB, free: 189.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/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