Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.0009902/0.0009902, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009689/0.0009689, allocations: 173 kB / 23.49 MB, free: 1.055 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.9472/0.9472, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.117/2.117, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.517e-05, allocations: 2.938 kB / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005737/0.005762, allocations: 5.767 MB / 0.8838 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.1538, allocations: 146.5 MB / 1.027 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009412/0.1547, allocations: 23.81 kB / 1.027 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.1553, allocations: 245.7 kB / 1.027 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.1571, allocations: 0.6598 MB / 1.028 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1586, allocations: 0.9075 MB / 1.029 GB, free: 12 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.1598, allocations: 1.759 MB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.1605, allocations: 0.5815 MB / 1.031 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.1612, allocations: 0.9668 MB / 1.032 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.1618, allocations: 0.5024 MB / 1.032 GB, free: 8.145 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.162, allocations: 167.9 kB / 1.033 GB, free: 7.98 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.1626, allocations: 0.5267 MB / 1.033 GB, free: 7.453 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.1628, allocations: 394.7 kB / 1.033 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.1632, allocations: 0.5104 MB / 1.034 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.1647, allocations: 1.522 MB / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1647, allocations: 0 / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1647, allocations: 0 / 1.035 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.1647, allocations: 4 kB / 1.035 GB, free: 5.023 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.00175/0.1665, allocations: 1.822 MB / 1.037 GB, free: 3.156 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1665, allocations: 8.031 kB / 1.037 GB, free: 3.148 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.1675, allocations: 395.4 kB / 1.038 GB, free: 2.762 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/0.1684, allocations: 0.8185 MB / 1.038 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.1685, allocations: 102.5 kB / 1.038 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1686, allocations: 124 kB / 1.039 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.1698, allocations: 1.231 MB / 1.04 GB, free: 324 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1698, allocations: 0 / 1.04 GB, free: 324 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.1699, allocations: 52 kB / 1.04 GB, free: 272 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.1699, allocations: 28 kB / 1.04 GB, free: 244 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.171, allocations: 0.8914 MB / 1.041 GB, free: 15.34 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.1741, allocations: 2.877 MB / 1.044 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.1751, allocations: 0.555 MB / 1.044 GB, free: 11.83 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.1754, allocations: 182.6 kB / 1.044 GB, free: 11.65 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.1754, allocations: 32.98 kB / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.176, allocations: 0.5066 MB / 1.045 GB, free: 11.07 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.204e-06/0.176, allocations: 0 / 1.045 GB, free: 11.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.001682/0.1777, allocations: 0.9096 MB / 1.046 GB, free: 10.15 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.1777, allocations: 200.9 kB / 1.046 GB, free: 9.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.1783, allocations: 0.6402 MB / 1.047 GB, free: 9.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.1784, allocations: 57.62 kB / 1.047 GB, free: 9.188 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/0.1787, allocations: 0.5856 MB / 1.047 GB, free: 8.594 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.1789, allocations: 317.3 kB / 1.047 GB, free: 8.281 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.1791, allocations: 196.2 kB / 1.048 GB, free: 8.082 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1793, allocations: 0.5703 MB / 1.048 GB, free: 7.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.1795, allocations: 161.9 kB / 1.048 GB, free: 7.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.1801, allocations: 401.8 kB / 1.049 GB, free: 6.895 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.1807, allocations: 439.1 kB / 1.049 GB, free: 6.453 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1807, allocations: 0 / 1.049 GB, free: 6.453 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001094/0.1818, allocations: 0.7386 MB / 1.05 GB, free: 5.703 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1818, allocations: 8 kB / 1.05 GB, free: 5.695 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1818, allocations: 0 / 1.05 GB, free: 5.695 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.1823, allocations: 127.7 kB / 1.05 GB, free: 5.566 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.1827, allocations: 195.7 kB / 1.05 GB, free: 5.375 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.1841, allocations: 1.91 MB / 1.052 GB, free: 3.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1844, allocations: 83.48 kB / 1.052 GB, free: 3.258 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.1844, allocations: 43.97 kB / 1.052 GB, free: 3.215 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 (117): * Single equations (assignments): 116 * 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.0002397/0.1847, allocations: 219 kB / 1.052 GB, free: 2.992 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.1848, allocations: 127.4 kB / 1.052 GB, free: 2.867 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.1861, allocations: 0.8857 MB / 1.053 GB, free: 1.965 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.1861, allocations: 12 kB / 1.053 GB, free: 1.953 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1861, allocations: 0 / 1.053 GB, free: 1.953 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1861, allocations: 7.984 kB / 1.053 GB, free: 1.945 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.1881, allocations: 1.796 MB / 1.055 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1881, allocations: 0 / 1.055 GB, free: 92 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3907/0.5788, allocations: 155 kB / 1.055 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004458/0.5792, allocations: 111.9 kB / 1.055 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.5794, allocations: 32.16 kB / 1.055 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009828/0.5803, allocations: 1.919 MB / 1.057 GB, free: 218 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5803, allocations: 0 / 1.057 GB, free: 218 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.5816, allocations: 0.918 MB / 1.058 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.5818, allocations: 222.1 kB / 1.058 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.5819, allocations: 27.33 kB / 1.058 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.5822, allocations: 47.8 kB / 1.058 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5823, allocations: 80.59 kB / 1.059 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.5824, allocations: 36.36 kB / 1.059 GB, free: 217.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003394/0.5827, allocations: 427.5 kB / 1.059 GB, free: 217.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5827, allocations: 0 / 1.059 GB, free: 217.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000768/0.5835, allocations: 414.9 kB / 1.059 GB, free: 217.7 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 (105): * Single equations (assignments): 94 * 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.001154/0.5846, allocations: 0.6216 MB / 1.06 GB, free: 217.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009335/0.5856, allocations: 0.7156 MB / 1.061 GB, free: 217.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5856, allocations: 0 / 1.061 GB, free: 217.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.586, allocations: 0.4933 MB / 1.061 GB, free: 217.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.5867, allocations: 336.8 kB / 1.061 GB, free: 217 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.5891, allocations: 1.867 MB / 1.063 GB, free: 216 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.5892, allocations: 221.1 kB / 1.064 GB, free: 215.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004523/0.5897, allocations: 272.2 kB / 1.064 GB, free: 215.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.5898, allocations: 117.5 kB / 1.064 GB, free: 215.9 MB / 1.01 GB Notification: Performance of SimCode: time 7.11e-07/0.5898, allocations: 6.844 kB / 1.064 GB, free: 215.9 MB / 1.01 GB Notification: Performance of Templates: time 0.01799/0.6078, allocations: 16.48 MB / 1.08 GB, free: 213.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.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.415014225058258]