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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 169 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9716/0.9716, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.286/2.286, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.469e-06/4.469e-06, allocations: 7.938 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.982e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005421/0.00545, allocations: 4.938 MB / 0.8945 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1326/0.1381, allocations: 143.9 MB / 1.035 GB, free: 4.344 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.1391, allocations: 23.81 kB / 1.035 GB, free: 4.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.1397, allocations: 206.1 kB / 1.035 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.1416, allocations: 0.6017 MB / 1.036 GB, free: 3.512 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.1433, allocations: 0.8958 MB / 1.037 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.1449, allocations: 1.537 MB / 1.038 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006567/0.1456, allocations: 462.3 kB / 1.039 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.1467, allocations: 0.842 MB / 1.04 GB, free: 15.75 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.1472, allocations: 422.8 kB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.1474, allocations: 127.9 kB / 1.04 GB, free: 15.21 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009299/0.1483, allocations: 0.4916 MB / 1.041 GB, free: 14.72 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.1485, allocations: 322.9 kB / 1.041 GB, free: 14.4 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003275/0.1489, allocations: 422.9 kB / 1.041 GB, free: 13.99 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.1505, allocations: 1.327 MB / 1.043 GB, free: 12.66 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1505, allocations: 0 / 1.043 GB, free: 12.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1505, allocations: 4 kB / 1.043 GB, free: 12.65 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.1506, allocations: 0 / 1.043 GB, free: 12.65 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001988/0.1525, allocations: 1.604 MB / 1.044 GB, free: 11 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1526, allocations: 12.62 kB / 1.044 GB, free: 10.99 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.1538, allocations: 463.1 kB / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.1548, allocations: 0.722 MB / 1.045 GB, free: 9.785 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.168e-05/0.1549, allocations: 78.12 kB / 1.045 GB, free: 9.711 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.155, allocations: 103.9 kB / 1.045 GB, free: 9.609 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.1561, allocations: 0.9947 MB / 1.046 GB, free: 8.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1561, allocations: 0 / 1.046 GB, free: 8.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.1562, allocations: 36 kB / 1.046 GB, free: 8.484 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1562, allocations: 24 kB / 1.046 GB, free: 8.461 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/0.157, allocations: 0.7313 MB / 1.047 GB, free: 7.73 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.16, allocations: 2.281 MB / 1.049 GB, free: 5.398 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1612, allocations: 0.545 MB / 1.05 GB, free: 4.84 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.1613, allocations: 178.5 kB / 1.05 GB, free: 4.66 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.1614, allocations: 52.75 kB / 1.05 GB, free: 4.609 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.1619, allocations: 494.7 kB / 1.051 GB, free: 4.078 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 2.775e-06/0.1619, allocations: 0 / 1.051 GB, free: 4.078 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.001311/0.1632, allocations: 0.8236 MB / 1.051 GB, free: 3.246 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/0.1633, allocations: 200.8 kB / 1.052 GB, free: 3.008 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.1636, allocations: 0.5617 MB / 1.052 GB, free: 2.434 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.1637, allocations: 53.7 kB / 1.052 GB, free: 2.375 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.1639, allocations: 495.8 kB / 1.053 GB, free: 1.883 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.1641, allocations: 309.4 kB / 1.053 GB, free: 1.578 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.1643, allocations: 200.1 kB / 1.053 GB, free: 1.375 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1645, allocations: 0.574 MB / 1.054 GB, free: 0.7891 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.1646, allocations: 117.9 kB / 1.054 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.1649, allocations: 377.7 kB / 1.054 GB, free: 256 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4675/0.6324, allocations: 369.9 kB / 1.055 GB, free: 64.99 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.6324, allocations: 0 / 1.055 GB, free: 64.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001198/0.6336, allocations: 0.6424 MB / 1.055 GB, free: 64.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.6336, allocations: 5.75 kB / 1.055 GB, free: 64.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6336, allocations: 0.6562 kB / 1.055 GB, free: 64.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/0.6341, allocations: 128 kB / 1.055 GB, free: 64.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.6345, allocations: 202.5 kB / 1.056 GB, free: 64.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.6358, allocations: 1.866 MB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.6363, allocations: 90.48 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.6363, allocations: 39.58 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (111): * Single equations (assignments): 110 * 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.0004335/0.6368, allocations: 220.7 kB / 1.058 GB, free: 63.04 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.6369, allocations: 116.3 kB / 1.058 GB, free: 63.04 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.6381, allocations: 0.8366 MB / 1.059 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.6381, allocations: 12.47 kB / 1.059 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.6381, allocations: 2.969 kB / 1.059 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6381, allocations: 7.672 kB / 1.059 GB, free: 62.96 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.64, allocations: 1.548 MB / 1.06 GB, free: 62.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.64, allocations: 2.812 kB / 1.06 GB, free: 62.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.6403, allocations: 165.9 kB / 1.06 GB, free: 62.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/0.6407, allocations: 114.7 kB / 1.06 GB, free: 62.58 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.6407, allocations: 31.36 kB / 1.06 GB, free: 62.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009962/0.6417, allocations: 1.889 MB / 1.062 GB, free: 60.85 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6417, allocations: 4.969 kB / 1.062 GB, free: 60.85 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.6426, allocations: 0.858 MB / 1.063 GB, free: 60.58 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.6428, allocations: 197.8 kB / 1.063 GB, free: 60.53 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.6429, allocations: 27.17 kB / 1.063 GB, free: 60.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6431, allocations: 51.88 kB / 1.063 GB, free: 60.53 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.6432, allocations: 76.14 kB / 1.063 GB, free: 60.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.6433, allocations: 31.83 kB / 1.063 GB, free: 60.52 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002312/0.6435, allocations: 361.4 kB / 1.064 GB, free: 60.39 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6435, allocations: 0.9375 kB / 1.064 GB, free: 60.39 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007673/0.6443, allocations: 365.9 kB / 1.064 GB, free: 60.36 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001208/0.6455, allocations: 0.6355 MB / 1.065 GB, free: 60.24 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006757/0.6462, allocations: 0.6499 MB / 1.065 GB, free: 60.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6462, allocations: 3.625 kB / 1.065 GB, free: 60.04 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.6465, allocations: 481.7 kB / 1.066 GB, free: 59.85 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.6472, allocations: 323.8 kB / 1.066 GB, free: 59.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.6491, allocations: 1.614 MB / 1.068 GB, free: 59.08 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.6493, allocations: 204.5 kB / 1.068 GB, free: 59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.6497, allocations: 209.4 kB / 1.068 GB, free: 58.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.6502, allocations: 373.7 kB / 1.069 GB, free: 58.89 MB / 1.01 GB Notification: Performance of SimCode: time 8.52e-07/0.6502, allocations: 0 / 1.069 GB, free: 58.89 MB / 1.01 GB Notification: Performance of Templates: time 0.02362/0.6738, allocations: 17.51 MB / 1.086 GB, free: 57.34 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.363135723862797]