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.001481/0.001481, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001767/0.001767, allocations: 173 kB / 23.36 MB, free: 1.129 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.455/2.455, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.944e-06/1.944e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.262e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005395/0.005418, allocations: 4.996 MB / 0.8435 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.149, allocations: 146.1 MB / 0.9862 GB, free: 6.484 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.1497, allocations: 23.81 kB / 0.9862 GB, free: 6.461 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.1501, allocations: 210 kB / 0.9864 GB, free: 6.254 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.1514, allocations: 0.586 MB / 0.987 GB, free: 5.664 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1527, allocations: 0.8802 MB / 0.9878 GB, free: 4.781 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009347/0.1537, allocations: 1.537 MB / 0.9894 GB, free: 3.238 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000508/0.1542, allocations: 468.5 kB / 0.9898 GB, free: 2.75 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009357/0.1551, allocations: 0.838 MB / 0.9906 GB, free: 1.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.1555, allocations: 414.7 kB / 0.991 GB, free: 1.504 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.1556, allocations: 124 kB / 0.9911 GB, free: 1.383 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006165/0.1562, allocations: 0.5384 MB / 0.9917 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.1564, allocations: 326.9 kB / 0.992 GB, free: 0.5234 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.1567, allocations: 410.9 kB / 0.9924 GB, free: 124 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1578, allocations: 1.327 MB / 0.9937 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1578, allocations: 4 kB / 0.9937 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1578, allocations: 0 / 0.9937 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.1578, allocations: 3.938 kB / 0.9937 GB, free: 14.78 MB / 0.9636 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.001457/0.1593, allocations: 1.444 MB / 0.9951 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1593, allocations: 12.62 kB / 0.9951 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/0.1617, allocations: 0.8394 MB / 0.9959 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/0.1626, allocations: 0.6094 MB / 0.9965 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.1626, allocations: 78.12 kB / 0.9966 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/0.1627, allocations: 104 kB / 0.9967 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.164, allocations: 1.266 MB / 0.9979 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.164, allocations: 0 / 0.9979 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.1641, allocations: 44 kB / 0.998 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.1641, allocations: 28 kB / 0.998 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.1649, allocations: 0.8408 MB / 0.9988 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.168, allocations: 2.108 MB / 1.001 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/0.169, allocations: 0.696 MB / 1.002 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.1693, allocations: 291.8 kB / 1.002 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.1694, allocations: 32.98 kB / 1.002 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.1699, allocations: 0.6631 MB / 1.002 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=90): time 2.074e-06/0.1699, allocations: 0 / 1.002 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=90): time 0.001354/0.1712, allocations: 0.9169 MB / 1.003 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.1713, allocations: 200.9 kB / 1.004 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.1717, allocations: 0.5016 MB / 1.004 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.1717, allocations: 49.7 kB / 1.004 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.1719, allocations: 362.4 kB / 1.004 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.172, allocations: 301.4 kB / 1.005 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.1722, allocations: 178.5 kB / 1.005 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1724, allocations: 394.5 kB / 1.005 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.1728, allocations: 240.8 kB / 1.006 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.1732, allocations: 451.6 kB / 1.006 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.1738, allocations: 481.2 kB / 1.006 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1738, allocations: 0 / 1.006 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001013/0.1748, allocations: 0.6592 MB / 1.007 GB, free: 0.6602 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1748, allocations: 4 kB / 1.007 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1748, allocations: 0 / 1.007 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.1752, allocations: 124.7 kB / 1.007 GB, free: 0.5312 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.176, allocations: 307.5 kB / 1.007 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1772, allocations: 1.324 MB / 1.009 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.1778, allocations: 173.6 kB / 1.009 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.1779, allocations: 35.95 kB / 1.009 GB, free: 14.61 MB / 0.9792 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.000289/0.1782, allocations: 171.1 kB / 1.009 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.1783, allocations: 83.92 kB / 1.009 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.1795, allocations: 0.8839 MB / 1.01 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1795, allocations: 12 kB / 1.01 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1795, allocations: 0 / 1.01 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1795, allocations: 7.984 kB / 1.01 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.1814, allocations: 1.409 MB / 1.011 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1814, allocations: 3.984 kB / 1.011 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.182, allocations: 263.7 kB / 1.012 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.1824, allocations: 108.7 kB / 1.012 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.1824, allocations: 27.91 kB / 1.012 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008755/0.1833, allocations: 1.322 MB / 1.013 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1833, allocations: 0 / 1.013 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.1842, allocations: 0.7782 MB / 1.014 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.1844, allocations: 155.1 kB / 1.014 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.1845, allocations: 31.86 kB / 1.014 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.1851, allocations: 139.9 kB / 1.014 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1852, allocations: 68.86 kB / 1.014 GB, free: 8.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.354e-05/0.1852, allocations: 35.91 kB / 1.014 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002153/0.1854, allocations: 251.4 kB / 1.015 GB, free: 8.699 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1854, allocations: 0 / 1.015 GB, free: 8.699 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007616/0.1862, allocations: 387 kB / 1.015 GB, free: 8.32 MB / 0.9792 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.001578/0.1878, allocations: 0.7498 MB / 1.016 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.1888, allocations: 0.8066 MB / 1.016 GB, free: 7.016 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.1888, allocations: 8.188 kB / 1.016 GB, free: 7.008 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.1893, allocations: 0.5262 MB / 1.017 GB, free: 6.469 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.19, allocations: 314 kB / 1.017 GB, free: 6.184 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1924, allocations: 1.714 MB / 1.019 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.1925, allocations: 203 kB / 1.019 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006607/0.1932, allocations: 234.9 kB / 1.019 GB, free: 3.977 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/0.1939, allocations: 319 kB / 1.02 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of SimCode: time 1.203e-06/0.1939, allocations: 0 / 1.02 GB, free: 3.664 MB / 0.9792 GB Notification: Performance of Templates: time 0.02404/0.2179, allocations: 19.7 MB / 1.039 GB, free: 296 kB / 0.9948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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.322469622828066]