Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.001003/0.001003, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.000947/0.000947, allocations: 169 kB / 24.06 MB, free: 452 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.9324/0.9324, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.023/2.023, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 4.812 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.476e-05, allocations: 5.562 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004888/0.004913, allocations: 4.652 MB / 0.8839 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1344/0.1393, allocations: 143.8 MB / 1.024 GB, free: 1.039 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008705/0.1402, allocations: 23.81 kB / 1.024 GB, free: 1.016 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.1408, allocations: 198.2 kB / 1.025 GB, free: 0.8203 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.1424, allocations: 0.5823 MB / 1.025 GB, free: 240 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.1442, allocations: 0.8687 MB / 1.026 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.1456, allocations: 1.46 MB / 1.027 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.1463, allocations: 393.9 kB / 1.028 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1473, allocations: 0.7757 MB / 1.029 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.1478, allocations: 378.8 kB / 1.029 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.1479, allocations: 112 kB / 1.029 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.1488, allocations: 495.3 kB / 1.029 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.149, allocations: 295 kB / 1.03 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.1496, allocations: 375 kB / 1.03 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.1512, allocations: 1.242 MB / 1.031 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1512, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1512, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.1512, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001884/0.1531, allocations: 1.523 MB / 1.033 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1531, allocations: 12.02 kB / 1.033 GB, free: 8.262 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.1542, allocations: 327.6 kB / 1.033 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008974/0.1551, allocations: 0.7072 MB / 1.034 GB, free: 7.211 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.1552, allocations: 70.12 kB / 1.034 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1553, allocations: 92 kB / 1.034 GB, free: 7.051 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.1563, allocations: 0.8812 MB / 1.035 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1563, allocations: 0 / 1.035 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.667e-05/0.1563, allocations: 36 kB / 1.035 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.1564, allocations: 20 kB / 1.035 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/0.1572, allocations: 0.6766 MB / 1.036 GB, free: 5.34 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.1604, allocations: 2.177 MB / 1.038 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/0.1612, allocations: 457.2 kB / 1.038 GB, free: 2.652 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1614, allocations: 164.1 kB / 1.038 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.784e-05/0.1614, allocations: 28.98 kB / 1.038 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.1619, allocations: 478 kB / 1.039 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=88): time 2.354e-06/0.1619, allocations: 0 / 1.039 GB, free: 1.949 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88): time 0.001699/0.1636, allocations: 0.7727 MB / 1.04 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.1637, allocations: 200.9 kB / 1.04 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.1641, allocations: 0.5655 MB / 1.04 GB, free: 356 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.1641, allocations: 49.7 kB / 1.04 GB, free: 300 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.1644, allocations: 452.1 kB / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.1645, allocations: 305.4 kB / 1.041 GB, free: 15.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.1647, allocations: 192.1 kB / 1.041 GB, free: 15.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1649, allocations: 0.5663 MB / 1.042 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1651, allocations: 109.9 kB / 1.042 GB, free: 14.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.1653, allocations: 357.7 kB / 1.042 GB, free: 14.26 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.1657, allocations: 343 kB / 1.043 GB, free: 13.91 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1657, allocations: 0 / 1.043 GB, free: 13.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0008271/0.1665, allocations: 0.6252 MB / 1.043 GB, free: 13.27 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1665, allocations: 4 kB / 1.043 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1666, allocations: 0 / 1.043 GB, free: 13.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004277/0.167, allocations: 131.6 kB / 1.043 GB, free: 13.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.1674, allocations: 179.7 kB / 1.043 GB, free: 12.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.1689, allocations: 1.87 MB / 1.045 GB, free: 10.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.1692, allocations: 85.91 kB / 1.045 GB, free: 10.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.1692, allocations: 35.97 kB / 1.045 GB, free: 10.86 MB / 1.01 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 (108): * Single equations (assignments): 107 * 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.0002031/0.1694, allocations: 211 kB / 1.046 GB, free: 10.64 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1696, allocations: 115.4 kB / 1.046 GB, free: 10.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.1706, allocations: 0.7912 MB / 1.046 GB, free: 9.711 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1706, allocations: 19.92 kB / 1.047 GB, free: 9.691 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.1706, allocations: 0 / 1.047 GB, free: 9.691 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1706, allocations: 3.984 kB / 1.047 GB, free: 9.688 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1722, allocations: 1.46 MB / 1.048 GB, free: 8.188 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.1722, allocations: 3.938 kB / 1.048 GB, free: 8.184 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.1725, allocations: 139.8 kB / 1.048 GB, free: 8.047 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003362/0.1729, allocations: 119.6 kB / 1.048 GB, free: 7.926 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.1729, allocations: 23.98 kB / 1.048 GB, free: 7.902 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.174, allocations: 1.888 MB / 1.05 GB, free: 5.898 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.174, allocations: 0 / 1.05 GB, free: 5.898 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.1751, allocations: 0.818 MB / 1.051 GB, free: 5.055 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.1754, allocations: 195.1 kB / 1.051 GB, free: 4.863 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.1755, allocations: 28.05 kB / 1.051 GB, free: 4.836 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.1757, allocations: 39.97 kB / 1.051 GB, free: 4.797 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.1758, allocations: 68.88 kB / 1.051 GB, free: 4.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.1758, allocations: 31.97 kB / 1.051 GB, free: 4.699 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002201/0.1761, allocations: 358.9 kB / 1.052 GB, free: 4.352 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 1.052 GB, free: 4.352 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006141/0.1767, allocations: 339.1 kB / 1.052 GB, free: 4.02 MB / 1.01 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 (98): * Single equations (assignments): 87 * 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.001183/0.1779, allocations: 0.6256 MB / 1.052 GB, free: 3.559 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006753/0.1785, allocations: 0.621 MB / 1.053 GB, free: 2.914 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1785, allocations: 0 / 1.053 GB, free: 2.914 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.1789, allocations: 457.1 kB / 1.054 GB, free: 2.445 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.1796, allocations: 330 kB / 1.054 GB, free: 2.148 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1814, allocations: 1.488 MB / 1.055 GB, free: 0.625 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1815, allocations: 198.9 kB / 1.055 GB, free: 416 kB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003771/0.1819, allocations: 186.8 kB / 1.056 GB, free: 224 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3873/0.5692, allocations: 364 kB / 1.056 GB, free: 75.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.673e-06/0.5692, allocations: 2.781 kB / 1.056 GB, free: 75.4 MB / 1.01 GB Notification: Performance of Templates: time 0.02072/0.5899, allocations: 17.05 MB / 1.073 GB, free: 74.18 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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: 6.468590311706066]