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.0009786/0.0009786, allocations: 81.97 kB / 21.47 MB, free: 3.035 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.0009028/0.0009028, allocations: 163.8 kB / 24.86 MB, free: 9.293 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 1.018/1.018, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.871/1.871, allocations: 377.9 MB / 0.6247 GB, free: 8.375 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.565e-06/2.565e-06, allocations: 0 / 0.8127 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.118e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008384/0.008415, allocations: 5.672 MB / 0.8183 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1468/0.1552, allocations: 144.1 MB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009288/0.1561, allocations: 27.75 kB / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.1568, allocations: 245.7 kB / 0.9592 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.1585, allocations: 0.6752 MB / 0.9599 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1603, allocations: 0.8997 MB / 0.9608 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.1619, allocations: 1.751 MB / 0.9625 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/0.1628, allocations: 0.5892 MB / 0.9631 GB, free: 7 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.164, allocations: 1.002 MB / 0.964 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006163/0.1647, allocations: 488.6 kB / 0.9645 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.1648, allocations: 152 kB / 0.9647 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1659, allocations: 0.5228 MB / 0.9652 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.1662, allocations: 370.7 kB / 0.9655 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.1667, allocations: 0.5027 MB / 0.966 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.1683, allocations: 1.479 MB / 0.9675 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1684, allocations: 0 / 0.9675 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1684, allocations: 0 / 0.9675 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.1684, allocations: 3.938 kB / 0.9675 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.002114/0.1705, allocations: 1.818 MB / 0.9692 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1705, allocations: 12.03 kB / 0.9692 GB, free: 0.6133 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.1718, allocations: 411.2 kB / 0.9696 GB, free: 216 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1728, allocations: 0.8043 MB / 0.9704 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/0.1728, allocations: 94.56 kB / 0.9705 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.173, allocations: 128 kB / 0.9706 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1742, allocations: 1.084 MB / 0.9717 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1742, allocations: 0 / 0.9717 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-05/0.1743, allocations: 52 kB / 0.9717 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.1743, allocations: 28 kB / 0.9718 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1753, allocations: 0.7531 MB / 0.9725 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.1788, allocations: 2.694 MB / 0.9751 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.1796, allocations: 485.6 kB / 0.9756 GB, free: 9.875 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.1798, allocations: 170.5 kB / 0.9758 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.1799, allocations: 32.98 kB / 0.9758 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.1804, allocations: 490.8 kB / 0.9763 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=95): time 3.277e-06/0.1804, allocations: 0 / 0.9763 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95): time 0.001792/0.1822, allocations: 0.8078 MB / 0.9771 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.1823, allocations: 208.8 kB / 0.9773 GB, free: 8.082 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000586/0.1829, allocations: 0.6124 MB / 0.9778 GB, free: 7.453 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.183, allocations: 53.69 kB / 0.9779 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.1834, allocations: 0.5855 MB / 0.9785 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.1836, allocations: 329.2 kB / 0.9788 GB, free: 6.477 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.1838, allocations: 200.1 kB / 0.979 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.184, allocations: 0.5819 MB / 0.9795 GB, free: 5.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1842, allocations: 117.9 kB / 0.9797 GB, free: 5.566 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.1847, allocations: 369.7 kB / 0.98 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005286/0.1852, allocations: 367 kB / 0.9804 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1852, allocations: 0 / 0.9804 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001182/0.1864, allocations: 0.6644 MB / 0.981 GB, free: 4.102 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1864, allocations: 8 kB / 0.981 GB, free: 4.094 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1864, allocations: 0 / 0.981 GB, free: 4.094 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.187, allocations: 131.8 kB / 0.9811 GB, free: 3.961 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.1876, allocations: 199.6 kB / 0.9813 GB, free: 3.766 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.189, allocations: 1.866 MB / 0.9832 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.1894, allocations: 91.45 kB / 0.9832 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.1895, allocations: 35.97 kB / 0.9833 GB, free: 1.66 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.0002574/0.1897, allocations: 211.2 kB / 0.9835 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.1899, allocations: 131.4 kB / 0.9836 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.1913, allocations: 0.835 MB / 0.9844 GB, free: 476 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1913, allocations: 8 kB / 0.9844 GB, free: 468 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1913, allocations: 4 kB / 0.9844 GB, free: 464 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.1913, allocations: 3.984 kB / 0.9844 GB, free: 460 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.1936, allocations: 1.585 MB / 0.986 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1936, allocations: 0 / 0.986 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.194, allocations: 155.8 kB / 0.9861 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/0.1944, allocations: 115.6 kB / 0.9862 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.1945, allocations: 27.97 kB / 0.9863 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.1958, allocations: 1.899 MB / 0.9881 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1958, allocations: 0 / 0.9881 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.1969, allocations: 0.8608 MB / 0.989 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.1973, allocations: 203 kB / 0.9892 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.1974, allocations: 23.98 kB / 0.9892 GB, free: 11.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.1977, allocations: 44.03 kB / 0.9892 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.1978, allocations: 76.86 kB / 0.9893 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.1979, allocations: 31.97 kB / 0.9893 GB, free: 11.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003227/0.1982, allocations: 390.8 kB / 0.9897 GB, free: 10.86 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1982, allocations: 0 / 0.9897 GB, free: 10.86 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008824/0.1991, allocations: 410.7 kB / 0.9901 GB, free: 10.46 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.001473/0.2006, allocations: 0.6368 MB / 0.9907 GB, free: 9.992 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009139/0.2015, allocations: 0.6443 MB / 0.9913 GB, free: 9.324 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2015, allocations: 0 / 0.9913 GB, free: 9.324 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.202, allocations: 485 kB / 0.9918 GB, free: 8.832 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000957/0.2029, allocations: 328.5 kB / 0.9921 GB, free: 8.527 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.2057, allocations: 1.84 MB / 0.9939 GB, free: 6.645 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.206, allocations: 223.4 kB / 0.9941 GB, free: 6.406 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005391/0.2065, allocations: 199.5 kB / 0.9943 GB, free: 6.207 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/0.2072, allocations: 381.9 kB / 0.9947 GB, free: 5.832 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/0.2072, allocations: 0 / 0.9947 GB, free: 5.832 MB / 0.948 GB Notification: Performance of Templates: time 0.02161/0.2288, allocations: 17.89 MB / 1.012 GB, free: 4.258 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.895794523879886]