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.001022/0.001022, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001649/0.001649, allocations: 181 kB / 24.09 MB, free: 420 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.9027/0.9027, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.795/1.795, allocations: 377.9 MB / 0.624 GB, free: 8.398 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.734e-06/1.734e-06, allocations: 0 / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.251e-05, allocations: 2.312 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00496/0.004973, allocations: 5.681 MB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1622/0.1671, allocations: 144.1 MB / 0.9582 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007608/0.1679, allocations: 27.75 kB / 0.9582 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.1684, allocations: 249.7 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1698, allocations: 0.6597 MB / 0.9591 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.1711, allocations: 0.9153 MB / 0.96 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.1723, allocations: 1.743 MB / 0.9617 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.1729, allocations: 0.5853 MB / 0.9623 GB, free: 7.008 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.1739, allocations: 0.994 MB / 0.9633 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.1744, allocations: 498.4 kB / 0.9637 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.1745, allocations: 152 kB / 0.9639 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000821/0.1753, allocations: 0.5189 MB / 0.9644 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1756, allocations: 374.7 kB / 0.9647 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.1759, allocations: 0.4948 MB / 0.9652 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1771, allocations: 1.491 MB / 0.9667 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1771, allocations: 4 kB / 0.9667 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1771, allocations: 0 / 0.9667 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.1772, allocations: 0 / 0.9667 GB, free: 2.488 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.001543/0.1787, allocations: 1.818 MB / 0.9685 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.1787, allocations: 12.03 kB / 0.9685 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008177/0.1796, allocations: 407.2 kB / 0.9689 GB, free: 220 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.1803, allocations: 0.8084 MB / 0.9696 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.1803, allocations: 94.38 kB / 0.9697 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.1804, allocations: 128 kB / 0.9699 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.1813, allocations: 1.076 MB / 0.9709 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1813, allocations: 0 / 0.9709 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.1814, allocations: 52 kB / 0.971 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.1814, allocations: 28 kB / 0.971 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.182, allocations: 0.7531 MB / 0.9717 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.1845, allocations: 2.693 MB / 0.9743 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.1851, allocations: 493.5 kB / 0.9748 GB, free: 9.879 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1852, allocations: 162.6 kB / 0.975 GB, free: 9.719 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.1853, allocations: 56.81 kB / 0.975 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000394/0.1857, allocations: 494.8 kB / 0.9755 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=95): time 1.834e-06/0.1857, allocations: 7.938 kB / 0.9755 GB, free: 9.125 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95): time 0.001196/0.1869, allocations: 0.8117 MB / 0.9763 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.1869, allocations: 196.9 kB / 0.9765 GB, free: 8.066 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.1873, allocations: 0.6163 MB / 0.9771 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.1874, allocations: 49.7 kB / 0.9771 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.1879, allocations: 0.5933 MB / 0.9777 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.1881, allocations: 321.2 kB / 0.978 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.1883, allocations: 200.1 kB / 0.9782 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1885, allocations: 0.5819 MB / 0.9788 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1887, allocations: 117.9 kB / 0.9789 GB, free: 5.551 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.189, allocations: 365.7 kB / 0.9792 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.1894, allocations: 371 kB / 0.9796 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1894, allocations: 0 / 0.9796 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0009857/0.1903, allocations: 0.6644 MB / 0.9802 GB, free: 4.086 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1904, allocations: 8 kB / 0.9803 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1904, allocations: 0 / 0.9803 GB, free: 4.078 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004093/0.1908, allocations: 131.6 kB / 0.9804 GB, free: 3.945 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.1912, allocations: 195.7 kB / 0.9806 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.1924, allocations: 1.871 MB / 0.9824 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.1927, allocations: 91.58 kB / 0.9825 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.1927, allocations: 31.98 kB / 0.9825 GB, free: 1.645 MB / 0.9323 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 (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.0002683/0.193, allocations: 227.2 kB / 0.9827 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.1931, allocations: 123.4 kB / 0.9828 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009741/0.1941, allocations: 0.8233 MB / 0.9837 GB, free: 464 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1941, allocations: 15.94 kB / 0.9837 GB, free: 448 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1941, allocations: 0 / 0.9837 GB, free: 448 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1941, allocations: 3.984 kB / 0.9837 GB, free: 444 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.1958, allocations: 1.585 MB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1958, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.1961, allocations: 151.8 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.1964, allocations: 119.6 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.1964, allocations: 31.92 kB / 0.9855 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009718/0.1974, allocations: 1.899 MB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1974, allocations: 0 / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.1982, allocations: 0.8647 MB / 0.9882 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.1984, allocations: 211 kB / 0.9884 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.776e-05/0.1985, allocations: 20 kB / 0.9884 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1987, allocations: 39.97 kB / 0.9885 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.1988, allocations: 80.84 kB / 0.9885 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.1988, allocations: 27.98 kB / 0.9886 GB, free: 11.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002284/0.1991, allocations: 390.8 kB / 0.9889 GB, free: 10.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1991, allocations: 0 / 0.9889 GB, free: 10.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006559/0.1997, allocations: 414.8 kB / 0.9893 GB, free: 10.43 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.001071/0.2008, allocations: 0.6297 MB / 0.99 GB, free: 9.973 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.2016, allocations: 0.6521 MB / 0.9906 GB, free: 9.297 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2016, allocations: 4 kB / 0.9906 GB, free: 9.293 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.2019, allocations: 469.1 kB / 0.991 GB, free: 8.816 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006809/0.2026, allocations: 333.9 kB / 0.9914 GB, free: 8.512 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.205, allocations: 1.829 MB / 0.9931 GB, free: 6.637 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.2051, allocations: 223.4 kB / 0.9934 GB, free: 6.398 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.2055, allocations: 207.4 kB / 0.9936 GB, free: 6.191 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/0.2061, allocations: 381.9 kB / 0.9939 GB, free: 5.816 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/0.2061, allocations: 4 kB / 0.9939 GB, free: 5.812 MB / 0.948 GB Notification: Performance of Templates: time 0.02123/0.2273, allocations: 17.62 MB / 1.011 GB, free: 4.523 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.505420600064099]