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.001222/0.001222, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001434/0.001435, allocations: 177.3 kB / 15.95 MB, free: 216 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7454, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004835/0.7503, allocations: 3.721 MB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1517/0.9021, allocations: 127.6 MB / 1.149 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006793/0.9028, allocations: 15.94 kB / 1.149 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.9032, allocations: 79.31 kB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.9046, allocations: 0.4886 MB / 1.15 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.9062, allocations: 0.635 MB / 1.15 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.9073, allocations: 0.826 MB / 1.151 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007493/0.9081, allocations: 0.5582 MB / 1.152 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.9085, allocations: 354.5 kB / 1.152 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.909, allocations: 346.1 kB / 1.152 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.9091, allocations: 24 kB / 1.152 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000757/0.9098, allocations: 319.6 kB / 1.153 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.9101, allocations: 187.2 kB / 1.153 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.9103, allocations: 205.1 kB / 1.153 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.9115, allocations: 1.231 MB / 1.154 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.9115, allocations: 0 / 1.154 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9115, allocations: 0 / 1.154 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.9115, allocations: 4 kB / 1.154 GB, free: 8.199 MB / 0.9044 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.002429/0.914, allocations: 1.27 MB / 1.155 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.914, allocations: 11.98 kB / 1.155 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.9156, allocations: 314.3 kB / 1.156 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.9167, allocations: 0.7458 MB / 1.156 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.378e-05/0.9168, allocations: 70 kB / 1.156 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.917, allocations: 96 kB / 1.157 GB, free: 5.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.9189, allocations: 1.058 MB / 1.158 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.919, allocations: 0 / 1.158 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.9191, allocations: 40 kB / 1.158 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.9191, allocations: 27.94 kB / 1.158 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.9214, allocations: 1.272 MB / 1.159 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004729/0.9262, allocations: 2.758 MB / 1.162 GB, free: 360 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.9287, allocations: 1.023 MB / 1.163 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.9288, allocations: 36.45 kB / 1.163 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.9299, allocations: 0.5588 MB / 1.163 GB, free: 14.7 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 2.234e-06/0.9299, allocations: 0 / 1.163 GB, free: 14.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=84): time 0.003663/0.9336, allocations: 1.381 MB / 1.165 GB, free: 13.29 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.9337, allocations: 196.9 kB / 1.165 GB, free: 13.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.9346, allocations: 0.6333 MB / 1.165 GB, free: 12.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.508e-05/0.9347, allocations: 41.7 kB / 1.165 GB, free: 12.37 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.935, allocations: 424.2 kB / 1.166 GB, free: 11.95 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.9353, allocations: 276 kB / 1.166 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/0.9353, allocations: 16 kB / 1.166 GB, free: 11.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.9355, allocations: 386.8 kB / 1.166 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.9362, allocations: 301.8 kB / 1.167 GB, free: 10.98 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.9371, allocations: 414.5 kB / 1.167 GB, free: 10.55 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.9379, allocations: 338.8 kB / 1.167 GB, free: 10.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.938, allocations: 3.953 kB / 1.167 GB, free: 10.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002291/0.9403, allocations: 0.9228 MB / 1.168 GB, free: 9.277 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.9403, allocations: 11.94 kB / 1.168 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.9403, allocations: 0 / 1.168 GB, free: 9.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.9409, allocations: 84.86 kB / 1.168 GB, free: 9.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.9416, allocations: 175.8 kB / 1.169 GB, free: 9.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.9437, allocations: 1.529 MB / 1.17 GB, free: 7.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008704/0.9446, allocations: 123.9 kB / 1.17 GB, free: 7.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/0.9447, allocations: 39.92 kB / 1.17 GB, free: 7.184 MB / 0.92 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 ($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) * 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 (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.0004924/0.9452, allocations: 269.6 kB / 1.17 GB, free: 6.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.9453, allocations: 82.97 kB / 1.171 GB, free: 6.828 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.9481, allocations: 1.226 MB / 1.172 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.9481, allocations: 11.95 kB / 1.172 GB, free: 5.574 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.9482, allocations: 0 / 1.172 GB, free: 5.574 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.9482, allocations: 7.969 kB / 1.172 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.952, allocations: 2.152 MB / 1.174 GB, free: 3.352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.952, allocations: 3.984 kB / 1.174 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/0.9527, allocations: 175.7 kB / 1.174 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/0.9532, allocations: 88.77 kB / 1.174 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.9533, allocations: 23.98 kB / 1.174 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.9551, allocations: 1.556 MB / 1.176 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9551, allocations: 4.031 kB / 1.176 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.9574, allocations: 1.129 MB / 1.177 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.9579, allocations: 291.7 kB / 1.177 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.958, allocations: 24.02 kB / 1.177 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/0.9588, allocations: 103.9 kB / 1.177 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.9589, allocations: 76.89 kB / 1.177 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.959, allocations: 39.97 kB / 1.177 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006048/0.9596, allocations: 459 kB / 1.178 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9596, allocations: 0 / 1.178 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009089/0.9605, allocations: 331 kB / 1.178 GB, free: 14.9 MB / 0.9356 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.001214/0.9618, allocations: 0.601 MB / 1.179 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.9638, allocations: 0.9212 MB / 1.18 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9638, allocations: 0 / 1.18 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.965, allocations: 0.5821 MB / 1.18 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.9661, allocations: 238.9 kB / 1.18 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.9706, allocations: 2.344 MB / 1.183 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.9713, allocations: 1.067 MB / 1.184 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009762/0.9723, allocations: 290.7 kB / 1.184 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.9726, allocations: 107.4 kB / 1.184 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of SimCode: time 1.253e-06/0.9726, allocations: 0 / 1.184 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of Templates: time 0.02606/0.9987, allocations: 14.3 MB / 1.198 GB, free: 10.74 MB / 0.9512 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","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches