Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001651/0.001651, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001771/0.001771, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.106/2.106, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.108e-05, allocations: 3.406 kB / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005093/0.005114, allocations: 5.053 MB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1287/0.1338, allocations: 146.7 MB / 1.026 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008576/0.1347, allocations: 23.81 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.1352, allocations: 210 kB / 1.027 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.1366, allocations: 0.5979 MB / 1.027 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1381, allocations: 0.8997 MB / 1.028 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1391, allocations: 1.553 MB / 1.03 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.1397, allocations: 460.5 kB / 1.03 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.1403, allocations: 0.8069 MB / 1.031 GB, free: 9.543 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.141, allocations: 438.7 kB / 1.031 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1411, allocations: 132 kB / 1.031 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000638/0.1418, allocations: 0.5227 MB / 1.032 GB, free: 8.461 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.142, allocations: 338.9 kB / 1.032 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.1423, allocations: 430.9 kB / 1.033 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1435, allocations: 1.374 MB / 1.034 GB, free: 6.328 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1435, allocations: 3.938 kB / 1.034 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1435, allocations: 0 / 1.034 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.1435, allocations: 0 / 1.034 GB, free: 6.324 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001638/0.1452, allocations: 1.593 MB / 1.035 GB, free: 4.684 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1452, allocations: 12.03 kB / 1.035 GB, free: 4.672 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.1482, allocations: 1.038 MB / 1.036 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008516/0.1491, allocations: 0.7676 MB / 1.037 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.1491, allocations: 82.06 kB / 1.037 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.1493, allocations: 100 kB / 1.037 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.1512, allocations: 1.458 MB / 1.039 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1512, allocations: 0 / 1.039 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.1513, allocations: 40 kB / 1.039 GB, free: 1.043 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.1513, allocations: 24 kB / 1.039 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1526, allocations: 1.19 MB / 1.04 GB, free: 15.83 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.1568, allocations: 4.339 MB / 1.044 GB, free: 10.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.1585, allocations: 0.8716 MB / 1.045 GB, free: 9.926 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.1589, allocations: 390.9 kB / 1.045 GB, free: 9.539 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.837e-05/0.159, allocations: 32.97 kB / 1.046 GB, free: 9.508 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007208/0.1597, allocations: 0.7369 MB / 1.046 GB, free: 8.723 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.154e-06/0.1597, allocations: 0 / 1.046 GB, free: 8.723 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.002141/0.1618, allocations: 1.351 MB / 1.048 GB, free: 7.367 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.1619, allocations: 208.8 kB / 1.048 GB, free: 7.121 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.1624, allocations: 0.5777 MB / 1.048 GB, free: 6.531 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.1625, allocations: 49.7 kB / 1.048 GB, free: 6.477 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.1627, allocations: 487.9 kB / 1.049 GB, free: 5.992 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.1629, allocations: 297.5 kB / 1.049 GB, free: 5.699 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.1631, allocations: 208.1 kB / 1.049 GB, free: 5.484 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1633, allocations: 0.5625 MB / 1.05 GB, free: 4.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.1637, allocations: 337.8 kB / 1.05 GB, free: 4.582 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.1643, allocations: 0.572 MB / 1.051 GB, free: 3.957 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007611/0.165, allocations: 0.585 MB / 1.051 GB, free: 3.355 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.165, allocations: 0 / 1.051 GB, free: 3.355 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001701/0.1667, allocations: 0.9847 MB / 1.052 GB, free: 2.363 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1667, allocations: 6.344 kB / 1.052 GB, free: 2.359 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1667, allocations: 0 / 1.052 GB, free: 2.359 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.1672, allocations: 131.7 kB / 1.052 GB, free: 2.227 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.168, allocations: 295.6 kB / 1.053 GB, free: 1.938 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4612/0.6292, allocations: 1.902 MB / 1.055 GB, free: 69.65 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009155/0.6301, allocations: 179.6 kB / 1.055 GB, free: 69.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.6302, allocations: 42.52 kB / 1.055 GB, free: 69.65 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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 (109): * Single equations (assignments): 108 * 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.0003394/0.6305, allocations: 223.8 kB / 1.055 GB, free: 69.48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.6307, allocations: 120 kB / 1.055 GB, free: 69.48 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.6323, allocations: 1.202 MB / 1.056 GB, free: 69.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6323, allocations: 12.47 kB / 1.056 GB, free: 69.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.6323, allocations: 0 / 1.056 GB, free: 69.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.6323, allocations: 7.188 kB / 1.056 GB, free: 69.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.6348, allocations: 2.808 MB / 1.059 GB, free: 68.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6348, allocations: 2.875 kB / 1.059 GB, free: 68.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.6354, allocations: 261.1 kB / 1.059 GB, free: 68.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/0.6358, allocations: 112.9 kB / 1.059 GB, free: 68.03 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.6358, allocations: 31.42 kB / 1.059 GB, free: 68.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008527/0.6367, allocations: 1.927 MB / 1.061 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6367, allocations: 1.578 kB / 1.061 GB, free: 66.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.638, allocations: 1.18 MB / 1.062 GB, free: 66.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.6382, allocations: 235.5 kB / 1.063 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.6383, allocations: 28.88 kB / 1.063 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/0.6389, allocations: 154.2 kB / 1.063 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.639, allocations: 77.73 kB / 1.063 GB, free: 66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.639, allocations: 50.12 kB / 1.063 GB, free: 66 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000253/0.6393, allocations: 394.7 kB / 1.063 GB, free: 65.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6393, allocations: 1.094 kB / 1.063 GB, free: 65.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006411/0.6399, allocations: 394.3 kB / 1.064 GB, free: 65.83 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 (100): * Single equations (assignments): 89 * 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.00112/0.6411, allocations: 0.6198 MB / 1.064 GB, free: 65.69 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.6423, allocations: 1.092 MB / 1.065 GB, free: 65.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6423, allocations: 0 / 1.065 GB, free: 65.48 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.6429, allocations: 0.691 MB / 1.066 GB, free: 65.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007084/0.6436, allocations: 334.3 kB / 1.066 GB, free: 65.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.6458, allocations: 1.805 MB / 1.068 GB, free: 64.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.6459, allocations: 201.7 kB / 1.068 GB, free: 64.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006228/0.6465, allocations: 305.5 kB / 1.069 GB, free: 64.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.6468, allocations: 120.4 kB / 1.069 GB, free: 64.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.032e-06/0.6468, allocations: 0 / 1.069 GB, free: 64.4 MB / 1.01 GB Notification: Performance of Templates: time 0.02415/0.6709, allocations: 18.57 MB / 1.087 GB, free: 62.63 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.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.793807778973132]