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.001375/0.001375, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001716/0.001716, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.006/1.006, allocations: 177.1 MB / 204.5 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.149/2.149, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.402e-06/1.402e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.453e-05, allocations: 5.891 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005183/0.005208, allocations: 4.943 MB / 0.8842 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.1403, allocations: 143.9 MB / 1.025 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.1413, allocations: 23.88 kB / 1.025 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.1421, allocations: 217.9 kB / 1.025 GB, free: 400 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0017/0.1438, allocations: 0.6057 MB / 1.026 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1455, allocations: 0.8959 MB / 1.026 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.147, allocations: 1.541 MB / 1.028 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006947/0.1477, allocations: 456.5 kB / 1.028 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009885/0.1486, allocations: 0.8497 MB / 1.029 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.1491, allocations: 414.7 kB / 1.03 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1493, allocations: 120 kB / 1.03 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009134/0.1502, allocations: 0.5111 MB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.1504, allocations: 318.9 kB / 1.031 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.1508, allocations: 414.9 kB / 1.031 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.1524, allocations: 1.331 MB / 1.032 GB, free: 8.922 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1524, allocations: 0 / 1.032 GB, free: 8.922 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1524, allocations: 3.938 kB / 1.032 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.1524, allocations: 4 kB / 1.032 GB, free: 8.914 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.002778/0.1552, allocations: 1.6 MB / 1.034 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1552, allocations: 8.031 kB / 1.034 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/0.1592, allocations: 1.038 MB / 1.035 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008508/0.16, allocations: 0.7616 MB / 1.036 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.16, allocations: 78.12 kB / 1.036 GB, free: 5.352 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1602, allocations: 100 kB / 1.036 GB, free: 5.254 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.1616, allocations: 1.283 MB / 1.037 GB, free: 3.875 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1616, allocations: 0 / 1.037 GB, free: 3.875 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.1617, allocations: 43.98 kB / 1.037 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1617, allocations: 24 kB / 1.037 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.1627, allocations: 1.005 MB / 1.038 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.1671, allocations: 4.171 MB / 1.042 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.1683, allocations: 0.7778 MB / 1.043 GB, free: 13.17 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1686, allocations: 335.2 kB / 1.043 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.1687, allocations: 36.98 kB / 1.043 GB, free: 12.8 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007457/0.1694, allocations: 0.6782 MB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 3.196e-06/0.1694, allocations: 4 kB / 1.044 GB, free: 12.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001899/0.1713, allocations: 1.187 MB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.1714, allocations: 196.9 kB / 1.045 GB, free: 10.64 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.172, allocations: 0.5694 MB / 1.046 GB, free: 10.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.716e-05/0.1721, allocations: 45.7 kB / 1.046 GB, free: 10 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.1724, allocations: 487.9 kB / 1.046 GB, free: 9.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.1726, allocations: 305.4 kB / 1.047 GB, free: 9.219 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.1728, allocations: 200.1 kB / 1.047 GB, free: 9.012 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.173, allocations: 0.574 MB / 1.047 GB, free: 8.426 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1733, allocations: 277.8 kB / 1.048 GB, free: 8.156 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.1737, allocations: 0.5055 MB / 1.048 GB, free: 7.602 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.1743, allocations: 0.4951 MB / 1.049 GB, free: 7.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1743, allocations: 0 / 1.049 GB, free: 7.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0013/0.1756, allocations: 0.8716 MB / 1.049 GB, free: 6.207 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.1756, allocations: 8 kB / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1756, allocations: 0 / 1.049 GB, free: 6.199 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.1761, allocations: 127.5 kB / 1.05 GB, free: 6.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.1768, allocations: 299.6 kB / 1.05 GB, free: 5.777 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.1782, allocations: 1.871 MB / 1.052 GB, free: 3.789 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/0.1788, allocations: 187.5 kB / 1.052 GB, free: 3.605 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.1789, allocations: 39.95 kB / 1.052 GB, free: 3.566 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 (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.0003936/0.1793, allocations: 211.2 kB / 1.052 GB, free: 3.348 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.1795, allocations: 123.4 kB / 1.052 GB, free: 3.227 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.1811, allocations: 1.096 MB / 1.053 GB, free: 2.113 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1812, allocations: 8 kB / 1.053 GB, free: 2.105 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1812, allocations: 0 / 1.053 GB, free: 2.105 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.1812, allocations: 11.97 kB / 1.053 GB, free: 2.094 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5063/0.6875, allocations: 2.56 MB / 1.056 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.6875, allocations: 0 / 1.056 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.6884, allocations: 260.4 kB / 1.056 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/0.6889, allocations: 122.3 kB / 1.056 GB, free: 76.34 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/0.689, allocations: 32.55 kB / 1.056 GB, free: 76.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.6902, allocations: 1.891 MB / 1.058 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6902, allocations: 0 / 1.058 GB, free: 74.63 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.692, allocations: 1.072 MB / 1.059 GB, free: 74.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.6924, allocations: 223.4 kB / 1.059 GB, free: 74.42 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.6926, allocations: 29.75 kB / 1.059 GB, free: 74.42 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007829/0.6934, allocations: 141.1 kB / 1.059 GB, free: 74.42 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.6935, allocations: 77.77 kB / 1.06 GB, free: 74.42 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/0.6936, allocations: 34.33 kB / 1.06 GB, free: 74.42 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003399/0.6939, allocations: 364.5 kB / 1.06 GB, free: 74.28 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6939, allocations: 0.9375 kB / 1.06 GB, free: 74.28 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001125/0.6951, allocations: 384.3 kB / 1.06 GB, free: 74.28 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.001555/0.6966, allocations: 0.6324 MB / 1.061 GB, free: 74.14 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.6981, allocations: 0.9608 MB / 1.062 GB, free: 73.94 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6981, allocations: 3.062 kB / 1.062 GB, free: 73.94 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.6989, allocations: 0.6297 MB / 1.062 GB, free: 73.75 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.6999, allocations: 337.4 kB / 1.063 GB, free: 73.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.7034, allocations: 1.744 MB / 1.065 GB, free: 73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.7036, allocations: 201.6 kB / 1.065 GB, free: 72.93 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001069/0.7047, allocations: 243 kB / 1.065 GB, free: 72.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009428/0.7056, allocations: 373.6 kB / 1.065 GB, free: 72.83 MB / 1.01 GB Notification: Performance of SimCode: time 4.789e-06/0.7056, allocations: 2.562 kB / 1.065 GB, free: 72.83 MB / 1.01 GB Notification: Performance of Templates: time 0.02988/0.7355, allocations: 19.99 MB / 1.085 GB, free: 71 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.811966500710696]