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.0009769/0.0009769, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001005/0.001005, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9046/0.9046, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.877/1.877, allocations: 377.8 MB / 0.6236 GB, free: 8.578 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 1.223e-06/1.223e-06, allocations: 0 / 0.8115 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.399e-05/3.522e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006123/0.006158, allocations: 5.805 MB / 0.8172 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.1412, allocations: 146.8 MB / 0.9605 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008785/0.1421, allocations: 27.75 kB / 0.9605 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.1427, allocations: 253.5 kB / 0.9608 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.1443, allocations: 0.6598 MB / 0.9614 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1459, allocations: 0.9115 MB / 0.9623 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1475, allocations: 1.747 MB / 0.964 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007357/0.1482, allocations: 0.5821 MB / 0.9646 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009676/0.1492, allocations: 0.9628 MB / 0.9655 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005318/0.1497, allocations: 0.5063 MB / 0.966 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.1499, allocations: 164 kB / 0.9662 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008828/0.1508, allocations: 0.5306 MB / 0.9667 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.1511, allocations: 394.7 kB / 0.9671 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.1514, allocations: 0.5143 MB / 0.9676 GB, free: 260 kB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.153, allocations: 1.518 MB / 0.969 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.153, allocations: 0 / 0.969 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.183e-06/0.153, allocations: 0 / 0.969 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.153, allocations: 0 / 0.969 GB, free: 14.73 MB / 0.8855 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.001875/0.1549, allocations: 1.818 MB / 0.9708 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1549, allocations: 15.97 kB / 0.9708 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009494/0.1559, allocations: 403.3 kB / 0.9712 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.1568, allocations: 0.8185 MB / 0.972 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.1568, allocations: 90.56 kB / 0.9721 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.1569, allocations: 132 kB / 0.9722 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.1582, allocations: 1.235 MB / 0.9734 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1582, allocations: 3.938 kB / 0.9734 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.1582, allocations: 48 kB / 0.9735 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1583, allocations: 28 kB / 0.9735 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1593, allocations: 0.8914 MB / 0.9744 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.1627, allocations: 2.885 MB / 0.9772 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/0.1635, allocations: 0.5443 MB / 0.9777 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.1638, allocations: 188.7 kB / 0.9779 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.1639, allocations: 32.97 kB / 0.9779 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.1644, allocations: 0.5144 MB / 0.9784 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=95): time 2.194e-06/0.1644, allocations: 4 kB / 0.9785 GB, free: 4.742 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.00163/0.166, allocations: 0.9017 MB / 0.9793 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.1661, allocations: 200.9 kB / 0.9795 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.1667, allocations: 0.644 MB / 0.9802 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.1667, allocations: 45.7 kB / 0.9802 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.167, allocations: 0.5896 MB / 0.9808 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.1672, allocations: 321.3 kB / 0.9811 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.1674, allocations: 204.1 kB / 0.9813 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1676, allocations: 0.5664 MB / 0.9818 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1678, allocations: 161.9 kB / 0.982 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.1682, allocations: 397.8 kB / 0.9824 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.1688, allocations: 431.1 kB / 0.9828 GB, free: 156 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1688, allocations: 4 kB / 0.9828 GB, free: 152 kB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00109/0.1698, allocations: 0.7387 MB / 0.9835 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1699, allocations: 4 kB / 0.9835 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1699, allocations: 4.094 kB / 0.9835 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.1703, allocations: 127.6 kB / 0.9836 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.1708, allocations: 195.7 kB / 0.9838 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.1721, allocations: 1.912 MB / 0.9857 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.1724, allocations: 83.48 kB / 0.9858 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.1725, allocations: 39.97 kB / 0.9858 GB, free: 12.91 MB / 0.9011 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.0002656/0.1727, allocations: 223 kB / 0.986 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1729, allocations: 127.4 kB / 0.9861 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.1741, allocations: 0.8896 MB / 0.987 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1741, allocations: 15.98 kB / 0.987 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1741, allocations: 0 / 0.987 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.1741, allocations: 7.969 kB / 0.987 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.1762, allocations: 1.796 MB / 0.9888 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1762, allocations: 0 / 0.9888 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.1766, allocations: 159.7 kB / 0.9889 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.1769, allocations: 119.6 kB / 0.989 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.177, allocations: 31.92 kB / 0.9891 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.1781, allocations: 1.918 MB / 0.9909 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1781, allocations: 0 / 0.9909 GB, free: 7.418 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.1792, allocations: 0.9273 MB / 0.9919 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.1795, allocations: 219 kB / 0.9921 GB, free: 6.254 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.1796, allocations: 24 kB / 0.9921 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.1798, allocations: 47.91 kB / 0.9921 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1799, allocations: 84.92 kB / 0.9922 GB, free: 6.102 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.18, allocations: 39.97 kB / 0.9922 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003556/0.1803, allocations: 426.9 kB / 0.9927 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1803, allocations: 4 kB / 0.9927 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008147/0.1812, allocations: 414.7 kB / 0.9931 GB, free: 5.238 MB / 0.9011 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.001231/0.1824, allocations: 0.6403 MB / 0.9937 GB, free: 4.773 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.1834, allocations: 0.7109 MB / 0.9944 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1834, allocations: 4.125 kB / 0.9944 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.1839, allocations: 0.4932 MB / 0.9949 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.1847, allocations: 344.4 kB / 0.9952 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.1873, allocations: 1.876 MB / 0.997 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.1875, allocations: 219.4 kB / 0.9972 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005364/0.188, allocations: 267.3 kB / 0.9975 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.1882, allocations: 112.4 kB / 0.9976 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of SimCode: time 1.173e-06/0.1882, allocations: 0 / 0.9976 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of Templates: time 0.02073/0.209, allocations: 16.53 MB / 1.014 GB, free: 452 kB / 0.9167 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.879482946358621]