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.001355/0.001355, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009864/0.0009864, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9099/0.9099, 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.783/1.783, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.483e-06/1.483e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.926e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005676/0.005695, allocations: 5.811 MB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1207/0.1264, allocations: 146.8 MB / 0.9605 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007118/0.1271, allocations: 31.75 kB / 0.9605 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005433/0.1276, allocations: 245.7 kB / 0.9608 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.129, allocations: 0.6752 MB / 0.9614 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1305, allocations: 0.9037 MB / 0.9623 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001213/0.1317, allocations: 1.747 MB / 0.964 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000634/0.1323, allocations: 0.5858 MB / 0.9646 GB, free: 4.465 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008826/0.1332, allocations: 0.9979 MB / 0.9656 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.1336, allocations: 0.4892 MB / 0.966 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.1338, allocations: 148 kB / 0.9662 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.1344, allocations: 0.515 MB / 0.9667 GB, free: 2.312 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.1346, allocations: 382.6 kB / 0.9671 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.1349, allocations: 498.8 kB / 0.9675 GB, free: 1.449 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.1363, allocations: 1.495 MB / 0.969 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1363, allocations: 0 / 0.969 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1363, allocations: 0 / 0.969 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.619e-05/0.1363, allocations: 0 / 0.969 GB, free: 15.95 MB / 0.9323 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.001708/0.138, allocations: 1.806 MB / 0.9708 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.138, allocations: 8.031 kB / 0.9708 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/0.139, allocations: 407.2 kB / 0.9712 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.1398, allocations: 0.8121 MB / 0.9719 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.1398, allocations: 106.5 kB / 0.972 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.892e-05/0.1399, allocations: 120 kB / 0.9722 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.141, allocations: 1.154 MB / 0.9733 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1411, allocations: 4 kB / 0.9733 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.1411, allocations: 52 kB / 0.9733 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.1412, allocations: 32 kB / 0.9734 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.1421, allocations: 0.8836 MB / 0.9742 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/0.145, allocations: 2.842 MB / 0.977 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.1458, allocations: 0.5327 MB / 0.9775 GB, free: 6.922 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.146, allocations: 198.5 kB / 0.9777 GB, free: 6.727 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/0.1461, allocations: 32.97 kB / 0.9778 GB, free: 6.695 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.1466, allocations: 0.5067 MB / 0.9782 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=95): time 2.194e-06/0.1466, allocations: 0 / 0.9782 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95): time 0.001542/0.1481, allocations: 0.8979 MB / 0.9791 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.1482, allocations: 204.9 kB / 0.9793 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.1487, allocations: 0.6323 MB / 0.9799 GB, free: 4.344 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.1488, allocations: 45.7 kB / 0.98 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.149, allocations: 0.5817 MB / 0.9805 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.1492, allocations: 321.2 kB / 0.9809 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.1494, allocations: 200.2 kB / 0.981 GB, free: 3.184 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1496, allocations: 0.5703 MB / 0.9816 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.1498, allocations: 149.9 kB / 0.9817 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.1501, allocations: 405.8 kB / 0.9821 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.1508, allocations: 431.1 kB / 0.9825 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1508, allocations: 0 / 0.9825 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001015/0.1518, allocations: 0.7386 MB / 0.9833 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1518, allocations: 4 kB / 0.9833 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1518, allocations: 4 kB / 0.9833 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.1523, allocations: 123.6 kB / 0.9834 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.1527, allocations: 195.8 kB / 0.9836 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.1539, allocations: 1.917 MB / 0.9854 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.1542, allocations: 79.5 kB / 0.9855 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/0.1543, allocations: 39.97 kB / 0.9856 GB, free: 14.34 MB / 0.948 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.0002286/0.1545, allocations: 219 kB / 0.9858 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.1546, allocations: 131.4 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1558, allocations: 0.8897 MB / 0.9868 GB, free: 13.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1558, allocations: 8 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1558, allocations: 4 kB / 0.9868 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1558, allocations: 3.984 kB / 0.9868 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.1578, allocations: 1.784 MB / 0.9885 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1578, allocations: 0 / 0.9885 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.1581, allocations: 155.8 kB / 0.9887 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/0.1584, allocations: 119.6 kB / 0.9888 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.1585, allocations: 27.92 kB / 0.9888 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.1597, allocations: 1.926 MB / 0.9907 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1597, allocations: 3.938 kB / 0.9907 GB, free: 8.855 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1607, allocations: 0.9234 MB / 0.9916 GB, free: 7.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.1609, allocations: 207 kB / 0.9918 GB, free: 7.707 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/0.161, allocations: 24 kB / 0.9918 GB, free: 7.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.1613, allocations: 43.91 kB / 0.9919 GB, free: 7.641 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.1614, allocations: 84.78 kB / 0.9919 GB, free: 7.559 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.1614, allocations: 35.98 kB / 0.992 GB, free: 7.523 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003207/0.1617, allocations: 422.9 kB / 0.9924 GB, free: 7.117 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1617, allocations: 0 / 0.9924 GB, free: 7.117 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006409/0.1624, allocations: 410.7 kB / 0.9928 GB, free: 6.715 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.001189/0.1636, allocations: 0.6306 MB / 0.9934 GB, free: 6.254 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.1645, allocations: 0.7227 MB / 0.9941 GB, free: 5.508 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1645, allocations: 0 / 0.9941 GB, free: 5.508 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.165, allocations: 0.4931 MB / 0.9946 GB, free: 4.992 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.1657, allocations: 334.3 kB / 0.9949 GB, free: 4.68 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.1683, allocations: 1.857 MB / 0.9967 GB, free: 2.781 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.1684, allocations: 223.4 kB / 0.9969 GB, free: 2.543 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004578/0.1689, allocations: 259.4 kB / 0.9972 GB, free: 2.285 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.1691, allocations: 120.4 kB / 0.9973 GB, free: 2.168 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/0.1691, allocations: 0 / 0.9973 GB, free: 2.168 MB / 0.948 GB Notification: Performance of Templates: time 0.02115/0.1902, allocations: 17.27 MB / 1.014 GB, free: 1.199 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.650331513024867]