Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009989/0.0009989, 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.0009776/0.0009776, allocations: 177.3 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.9277/0.9277, 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.286/2.286, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 178] 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8385 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.154e-05, allocations: 6.312 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004776/0.004787, allocations: 5.679 MB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.1346, allocations: 146.3 MB / 0.9869 GB, free: 5.699 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.1353, allocations: 23.81 kB / 0.987 GB, free: 5.676 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.1358, allocations: 241.7 kB / 0.9872 GB, free: 5.438 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.1371, allocations: 0.6752 MB / 0.9879 GB, free: 4.758 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1384, allocations: 0.8998 MB / 0.9887 GB, free: 3.855 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.1397, allocations: 1.747 MB / 0.9904 GB, free: 2.102 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.1403, allocations: 0.5939 MB / 0.991 GB, free: 1.461 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007852/0.1411, allocations: 0.994 MB / 0.992 GB, free: 476 kB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.1415, allocations: 486.5 kB / 0.9925 GB, free: 15.99 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.1416, allocations: 148 kB / 0.9926 GB, free: 15.84 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006405/0.1423, allocations: 0.5267 MB / 0.9931 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.1425, allocations: 374.7 kB / 0.9935 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.1429, allocations: 0.4987 MB / 0.994 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.1441, allocations: 1.491 MB / 0.9954 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1441, allocations: 0 / 0.9954 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1441, allocations: 0 / 0.9954 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.1441, allocations: 0 / 0.9954 GB, free: 12.95 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.001828/0.1459, allocations: 1.665 MB / 0.997 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.146, allocations: 12.62 kB / 0.997 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/0.1468, allocations: 356.1 kB / 0.9974 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/0.1475, allocations: 0.6443 MB / 0.998 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.1475, allocations: 98.56 kB / 0.9981 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.1476, allocations: 128 kB / 0.9982 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.1484, allocations: 1.078 MB / 0.9993 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1485, allocations: 0 / 0.9993 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.1485, allocations: 52 kB / 0.9993 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.1485, allocations: 32 kB / 0.9994 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.1492, allocations: 0.6321 MB / 1 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.1514, allocations: 2.056 MB / 1.002 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005117/0.152, allocations: 442.5 kB / 1.002 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1521, allocations: 143.8 kB / 1.003 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.1522, allocations: 32.92 kB / 1.003 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005992/0.1528, allocations: 475.4 kB / 1.003 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=95): time 1.913e-06/0.1528, allocations: 4 kB / 1.003 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=95): time 0.001017/0.1538, allocations: 0.5927 MB / 1.004 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.1538, allocations: 204.8 kB / 1.004 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.1542, allocations: 0.5639 MB / 1.004 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.1543, allocations: 53.7 kB / 1.004 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1545, allocations: 458.8 kB / 1.005 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.1546, allocations: 317.2 kB / 1.005 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.1548, allocations: 182.5 kB / 1.005 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1549, allocations: 402.6 kB / 1.006 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.155, allocations: 104.8 kB / 1.006 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.1552, allocations: 323.6 kB / 1.006 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1556, allocations: 357.2 kB / 1.006 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1556, allocations: 4 kB / 1.006 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0006435/0.1562, allocations: 0.4949 MB / 1.007 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1562, allocations: 4 kB / 1.007 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1562, allocations: 8.094 kB / 1.007 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.1566, allocations: 116.7 kB / 1.007 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.157, allocations: 187.7 kB / 1.007 GB, free: 376 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009471/0.1579, allocations: 1.309 MB / 1.009 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.1582, allocations: 83.48 kB / 1.009 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.1582, allocations: 27.97 kB / 1.009 GB, free: 14.86 MB / 0.9792 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.000192/0.1584, allocations: 175.3 kB / 1.009 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.1585, allocations: 87.91 kB / 1.009 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008158/0.1593, allocations: 0.6429 MB / 1.01 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1593, allocations: 12 kB / 1.01 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1593, allocations: 0 / 1.01 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1593, allocations: 7.969 kB / 1.01 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.1609, allocations: 1.202 MB / 1.011 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1609, allocations: 0 / 1.011 GB, free: 12.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.1612, allocations: 147.8 kB / 1.011 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.1615, allocations: 116.7 kB / 1.011 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.1616, allocations: 19.98 kB / 1.011 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008111/0.1624, allocations: 1.329 MB / 1.012 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1624, allocations: 0 / 1.012 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.163, allocations: 0.5907 MB / 1.013 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.1632, allocations: 159.1 kB / 1.013 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.1632, allocations: 16.06 kB / 1.013 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1635, allocations: 50.62 kB / 1.013 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.1636, allocations: 76.78 kB / 1.013 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.1636, allocations: 23.98 kB / 1.013 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002074/0.1638, allocations: 279.4 kB / 1.013 GB, free: 9.766 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1638, allocations: 0 / 1.013 GB, free: 9.766 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005372/0.1643, allocations: 410.8 kB / 1.014 GB, free: 9.363 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 (105): * Single equations (assignments): 94 * 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.001394/0.1657, allocations: 0.7533 MB / 1.015 GB, free: 8.879 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006062/0.1663, allocations: 0.5448 MB / 1.015 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.1663, allocations: 8 kB / 1.015 GB, free: 8.312 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.1668, allocations: 386.9 kB / 1.015 GB, free: 7.922 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.1674, allocations: 334.2 kB / 1.016 GB, free: 7.617 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.1697, allocations: 1.796 MB / 1.018 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.1699, allocations: 235.2 kB / 1.018 GB, free: 5.531 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003776/0.1703, allocations: 199.4 kB / 1.018 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.1708, allocations: 319 kB / 1.018 GB, free: 5.02 MB / 0.9792 GB Notification: Performance of SimCode: time 6.71e-07/0.1708, allocations: 0 / 1.018 GB, free: 5.02 MB / 0.9792 GB Notification: Performance of Templates: time 0.02032/0.1911, allocations: 17.64 MB / 1.035 GB, free: 3.703 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.824602656066418]