Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001369/0.001369, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00158/0.00158, allocations: 169 kB / 24.28 MB, free: 280 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 0.9873/0.9873, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.836/1.836, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.25e-05, allocations: 4.625 kB / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00561/0.005632, allocations: 5.762 MB / 0.8171 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1338/0.1395, allocations: 146.5 MB / 0.9602 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009411/0.1404, allocations: 27.81 kB / 0.9602 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.141, allocations: 253.5 kB / 0.9605 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.1426, allocations: 0.6636 MB / 0.9611 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.1443, allocations: 0.9037 MB / 0.962 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.1458, allocations: 1.743 MB / 0.9637 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007662/0.1466, allocations: 0.5975 MB / 0.9643 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1477, allocations: 0.9628 MB / 0.9652 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.1483, allocations: 0.5102 MB / 0.9657 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.1488, allocations: 160 kB / 0.9659 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007936/0.1496, allocations: 0.5267 MB / 0.9664 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.1498, allocations: 394.6 kB / 0.9668 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.1501, allocations: 0.5105 MB / 0.9673 GB, free: 2.02 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1515, allocations: 1.514 MB / 0.9688 GB, free: 0.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1515, allocations: 7.938 kB / 0.9688 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1515, allocations: 0 / 0.9688 GB, free: 0.4922 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.1515, allocations: 0 / 0.9688 GB, free: 0.4922 MB / 0.9167 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.001772/0.1533, allocations: 1.826 MB / 0.9705 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1533, allocations: 8.031 kB / 0.9706 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.1543, allocations: 399.2 kB / 0.9709 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.1552, allocations: 0.8262 MB / 0.9717 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/0.1552, allocations: 98.56 kB / 0.9718 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1553, allocations: 124 kB / 0.972 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.1568, allocations: 1.231 MB / 0.9732 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.1568, allocations: 0 / 0.9732 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/0.1569, allocations: 56 kB / 0.9732 GB, free: 11.72 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.1569, allocations: 32 kB / 0.9732 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/0.1578, allocations: 0.8836 MB / 0.9741 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.1607, allocations: 2.884 MB / 0.9769 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007898/0.1615, allocations: 0.5428 MB / 0.9774 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.1617, allocations: 190.6 kB / 0.9776 GB, free: 7.113 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.1618, allocations: 28.98 kB / 0.9777 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005094/0.1623, allocations: 0.5223 MB / 0.9782 GB, free: 6.516 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=95): time 1.984e-06/0.1623, allocations: 0 / 0.9782 GB, free: 6.516 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95): time 0.001597/0.1639, allocations: 0.9056 MB / 0.9791 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.011e-05/0.1639, allocations: 200.9 kB / 0.9792 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/0.1647, allocations: 0.6362 MB / 0.9799 GB, free: 4.703 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.1648, allocations: 57.69 kB / 0.9799 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.1651, allocations: 0.5739 MB / 0.9805 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.1652, allocations: 317.3 kB / 0.9808 GB, free: 3.746 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.1654, allocations: 204.2 kB / 0.981 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1656, allocations: 0.5704 MB / 0.9815 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.1658, allocations: 161.8 kB / 0.9817 GB, free: 2.801 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.1662, allocations: 405.7 kB / 0.9821 GB, free: 2.352 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.1667, allocations: 431.1 kB / 0.9825 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1667, allocations: 0 / 0.9825 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001046/0.1678, allocations: 0.7386 MB / 0.9832 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1678, allocations: 8 kB / 0.9832 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1678, allocations: 0 / 0.9832 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.1682, allocations: 127.7 kB / 0.9833 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.1686, allocations: 199.7 kB / 0.9835 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.1699, allocations: 1.912 MB / 0.9854 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.1702, allocations: 86.14 kB / 0.9855 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.1703, allocations: 43.97 kB / 0.9855 GB, free: 14.68 MB / 0.948 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.0002122/0.1705, allocations: 219 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.1706, allocations: 131.4 kB / 0.9859 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1718, allocations: 0.8935 MB / 0.9867 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1718, allocations: 8 kB / 0.9867 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1718, allocations: 4 kB / 0.9867 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1718, allocations: 3.984 kB / 0.9867 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.1738, allocations: 1.803 MB / 0.9885 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1738, allocations: 4 kB / 0.9885 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.1741, allocations: 159.8 kB / 0.9887 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/0.1744, allocations: 111.5 kB / 0.9888 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.1744, allocations: 35.91 kB / 0.9888 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.1755, allocations: 1.918 MB / 0.9907 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1755, allocations: 0 / 0.9907 GB, free: 9.172 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1765, allocations: 0.9274 MB / 0.9916 GB, free: 8.219 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.1768, allocations: 219 kB / 0.9918 GB, free: 8.004 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.1769, allocations: 27.98 kB / 0.9918 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.1771, allocations: 43.97 kB / 0.9919 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.1773, allocations: 84.78 kB / 0.9919 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.1773, allocations: 39.97 kB / 0.992 GB, free: 7.812 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003304/0.1776, allocations: 430.9 kB / 0.9924 GB, free: 7.398 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1776, allocations: 0 / 0.9924 GB, free: 7.398 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006736/0.1783, allocations: 414.7 kB / 0.9928 GB, free: 6.992 MB / 0.948 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 (106): * Single equations (assignments): 95 * 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.001212/0.1795, allocations: 0.6281 MB / 0.9934 GB, free: 6.527 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.1807, allocations: 0.7188 MB / 0.9941 GB, free: 5.789 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1807, allocations: 0 / 0.9941 GB, free: 5.789 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.1811, allocations: 0.4931 MB / 0.9946 GB, free: 5.273 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.1819, allocations: 343.3 kB / 0.9949 GB, free: 4.957 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.1843, allocations: 1.871 MB / 0.9967 GB, free: 3.047 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.1844, allocations: 227.4 kB / 0.9969 GB, free: 2.805 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004553/0.1849, allocations: 255.4 kB / 0.9972 GB, free: 2.551 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.1851, allocations: 120.4 kB / 0.9973 GB, free: 2.434 MB / 0.948 GB Notification: Performance of SimCode: time 1.413e-06/0.1851, allocations: 0 / 0.9973 GB, free: 2.434 MB / 0.948 GB Notification: Performance of Templates: time 0.01895/0.204, allocations: 16.52 MB / 1.013 GB, free: 2.207 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.782481024041772]