Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.0009982/0.0009982, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001038/0.001038, allocations: 173 kB / 23.36 MB, free: 1.133 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.9927/0.9927, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.581/2.581, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.636e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005512/0.005528, allocations: 5.182 MB / 0.8437 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1429/0.1485, allocations: 146.3 MB / 0.9865 GB, free: 6.199 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.1494, allocations: 23.81 kB / 0.9865 GB, free: 6.176 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.1499, allocations: 229.8 kB / 0.9867 GB, free: 5.949 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1512, allocations: 0.5821 MB / 0.9873 GB, free: 5.363 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1528, allocations: 0.9659 MB / 0.9882 GB, free: 4.395 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.154, allocations: 1.705 MB / 0.9899 GB, free: 2.684 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006183/0.1546, allocations: 0.5107 MB / 0.9904 GB, free: 2.121 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000979/0.1556, allocations: 0.9434 MB / 0.9913 GB, free: 1.176 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.1561, allocations: 498.5 kB / 0.9918 GB, free: 0.6875 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1563, allocations: 140 kB / 0.9919 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007194/0.157, allocations: 0.554 MB / 0.9925 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.1572, allocations: 362.7 kB / 0.9928 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002971/0.1575, allocations: 466.8 kB / 0.9933 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1587, allocations: 1.46 MB / 0.9947 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1587, allocations: 0 / 0.9947 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1587, allocations: 4 kB / 0.9947 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1587, allocations: 0 / 0.9947 GB, free: 13.71 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.001605/0.1603, allocations: 1.628 MB / 0.9963 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1603, allocations: 8.625 kB / 0.9963 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.164, allocations: 1.237 MB / 0.9975 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/0.1648, allocations: 0.6211 MB / 0.9981 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.1648, allocations: 86.36 kB / 0.9982 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.165, allocations: 123.9 kB / 0.9983 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.1667, allocations: 1.558 MB / 0.9998 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.1667, allocations: 0 / 0.9998 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.1668, allocations: 48 kB / 0.9999 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.1669, allocations: 28 kB / 0.9999 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.168, allocations: 1.026 MB / 1.001 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.1716, allocations: 2.383 MB / 1.003 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.1729, allocations: 0.9209 MB / 1.004 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/0.1733, allocations: 385.4 kB / 1.004 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.589e-05/0.1734, allocations: 36.97 kB / 1.005 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.1741, allocations: 0.8035 MB / 1.005 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=117): time 2.374e-06/0.1741, allocations: 0 / 1.005 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117): time 0.001707/0.1758, allocations: 1.136 MB / 1.006 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.1759, allocations: 200.9 kB / 1.007 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.1762, allocations: 0.5094 MB / 1.007 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.1763, allocations: 53.7 kB / 1.007 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1765, allocations: 390.7 kB / 1.008 GB, free: 204 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.1767, allocations: 392.8 kB / 1.008 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.177, allocations: 222.7 kB / 1.008 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1771, allocations: 402.6 kB / 1.009 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.1774, allocations: 285.4 kB / 1.009 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.1778, allocations: 0.5311 MB / 1.009 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.1785, allocations: 0.6045 MB / 1.01 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1785, allocations: 8 kB / 1.01 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001077/0.1796, allocations: 0.8284 MB / 1.011 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1796, allocations: 10.19 kB / 1.011 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1796, allocations: 4 kB / 1.011 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.18, allocations: 124.7 kB / 1.011 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000993/0.181, allocations: 383.5 kB / 1.011 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.182, allocations: 1.301 MB / 1.012 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.1827, allocations: 231.3 kB / 1.013 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.1828, allocations: 35.95 kB / 1.013 GB, free: 10.69 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (137): * Single equations (assignments): 136 * 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.0002674/0.1831, allocations: 195.1 kB / 1.013 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.1832, allocations: 95.91 kB / 1.013 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.1847, allocations: 1.109 MB / 1.014 GB, free: 9.266 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.1847, allocations: 12 kB / 1.014 GB, free: 9.254 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1848, allocations: 3.938 kB / 1.014 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1848, allocations: 11.97 kB / 1.014 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.1869, allocations: 1.708 MB / 1.016 GB, free: 7.488 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1869, allocations: 0 / 1.016 GB, free: 7.488 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009433/0.1879, allocations: 347.5 kB / 1.016 GB, free: 7.148 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003171/0.1882, allocations: 116.7 kB / 1.016 GB, free: 7.031 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/0.1883, allocations: 27.97 kB / 1.016 GB, free: 7.004 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008213/0.1891, allocations: 1.322 MB / 1.018 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1891, allocations: 0 / 1.018 GB, free: 5.594 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1902, allocations: 0.9486 MB / 1.018 GB, free: 4.621 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.1905, allocations: 178.9 kB / 1.019 GB, free: 4.445 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.1906, allocations: 27.98 kB / 1.019 GB, free: 4.418 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.1913, allocations: 171.9 kB / 1.019 GB, free: 4.25 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1914, allocations: 85.14 kB / 1.019 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/0.1915, allocations: 35.95 kB / 1.019 GB, free: 4.129 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001881/0.1917, allocations: 251.4 kB / 1.019 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1917, allocations: 0 / 1.019 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000655/0.1923, allocations: 446.8 kB / 1.02 GB, free: 3.445 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 (129): * Single equations (assignments): 118 * 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.001461/0.1938, allocations: 0.7737 MB / 1.02 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.195, allocations: 0.9885 MB / 1.021 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.195, allocations: 8 kB / 1.021 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.1956, allocations: 0.6343 MB / 1.022 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.1963, allocations: 343.2 kB / 1.022 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.1986, allocations: 1.92 MB / 1.024 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.1987, allocations: 216.8 kB / 1.024 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008443/0.1996, allocations: 303.8 kB / 1.025 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008664/0.2004, allocations: 342.9 kB / 1.025 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of SimCode: time 1.032e-06/0.2004, allocations: 0 / 1.025 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of Templates: time 0.02332/0.2238, allocations: 22.48 MB / 1.047 GB, free: 8.004 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.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.735029309988022]