Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.0009676/0.0009676, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001003/0.001003, allocations: 165 kB / 23.82 MB, free: 0.75 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.9744/0.9744, 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.892/1.892, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.8115 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.382e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004549/0.004563, allocations: 4.709 MB / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1265/0.131, allocations: 146.6 MB / 0.9592 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.1317, allocations: 23.81 kB / 0.9592 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.1323, allocations: 202.1 kB / 0.9594 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.1338, allocations: 0.5669 MB / 0.96 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1354, allocations: 0.8725 MB / 0.9608 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1367, allocations: 1.471 MB / 0.9623 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005917/0.1373, allocations: 401.8 kB / 0.9626 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008268/0.1381, allocations: 0.7484 MB / 0.9634 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004708/0.1386, allocations: 406.8 kB / 0.9638 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.1387, allocations: 127.9 kB / 0.9639 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.1397, allocations: 499.4 kB / 0.9644 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1399, allocations: 315 kB / 0.9647 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.1402, allocations: 398.9 kB / 0.965 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.1417, allocations: 1.284 MB / 0.9663 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1417, allocations: 7.984 kB / 0.9663 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1417, allocations: 0 / 0.9663 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1417, allocations: 0 / 0.9663 GB, free: 1.559 MB / 0.8698 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.001719/0.1434, allocations: 1.519 MB / 0.9678 GB, free: 0 / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.1435, allocations: 8.078 kB / 0.9678 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.1445, allocations: 343.4 kB / 0.9681 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.1453, allocations: 0.7247 MB / 0.9688 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/0.1454, allocations: 70.12 kB / 0.9689 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/0.1455, allocations: 92 kB / 0.969 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009849/0.1464, allocations: 1.005 MB / 0.97 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1465, allocations: 7.938 kB / 0.97 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.1465, allocations: 39.98 kB / 0.97 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.1465, allocations: 20 kB / 0.97 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.1474, allocations: 0.7919 MB / 0.9708 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.1501, allocations: 2.364 MB / 0.9731 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.1509, allocations: 0.4991 MB / 0.9736 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.1512, allocations: 177.5 kB / 0.9738 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.601e-05/0.1512, allocations: 28.73 kB / 0.9738 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/0.1517, allocations: 0.4985 MB / 0.9743 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 3.276e-06/0.1517, allocations: 0 / 0.9743 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87): time 0.001577/0.1533, allocations: 0.8392 MB / 0.9751 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.1534, allocations: 200.9 kB / 0.9753 GB, free: 7.992 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.1539, allocations: 0.5892 MB / 0.9759 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.154, allocations: 49.7 kB / 0.9759 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.1542, allocations: 459.9 kB / 0.9764 GB, free: 6.879 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.1544, allocations: 285.6 kB / 0.9766 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.1546, allocations: 184.2 kB / 0.9768 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1547, allocations: 0.5586 MB / 0.9774 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.155, allocations: 141.9 kB / 0.9775 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/0.1553, allocations: 385.7 kB / 0.9779 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.156, allocations: 395.1 kB / 0.9782 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.156, allocations: 0 / 0.9782 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001049/0.157, allocations: 0.6801 MB / 0.9789 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.1571, allocations: 4 kB / 0.9789 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1571, allocations: 4.094 kB / 0.9789 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.1576, allocations: 139.5 kB / 0.979 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.158, allocations: 171.8 kB / 0.9792 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.1593, allocations: 1.904 MB / 0.9811 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.1597, allocations: 79.62 kB / 0.9811 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.1597, allocations: 39.97 kB / 0.9812 GB, free: 1.719 MB / 0.8855 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 (106): * Single equations (assignments): 105 * 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.000239/0.16, allocations: 219.2 kB / 0.9814 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.1601, allocations: 111.4 kB / 0.9815 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.1613, allocations: 0.8536 MB / 0.9823 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1613, allocations: 8 kB / 0.9823 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1613, allocations: 0 / 0.9823 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1613, allocations: 7.969 kB / 0.9823 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.1633, allocations: 1.663 MB / 0.984 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1633, allocations: 0 / 0.984 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.1636, allocations: 143.8 kB / 0.9841 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/0.1639, allocations: 115.6 kB / 0.9842 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.164, allocations: 31.91 kB / 0.9842 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.1653, allocations: 1.929 MB / 0.9861 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1653, allocations: 7.938 kB / 0.9861 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1663, allocations: 0.8805 MB / 0.987 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.1666, allocations: 195.1 kB / 0.9872 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.1666, allocations: 24 kB / 0.9872 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.1669, allocations: 49.72 kB / 0.9872 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.167, allocations: 80.8 kB / 0.9873 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.1671, allocations: 39.97 kB / 0.9874 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003088/0.1674, allocations: 387 kB / 0.9877 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1674, allocations: 4 kB / 0.9877 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006966/0.1681, allocations: 343.1 kB / 0.9881 GB, free: 10.42 MB / 0.9011 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.001324/0.1694, allocations: 0.6273 MB / 0.9887 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009258/0.1703, allocations: 0.668 MB / 0.9893 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1703, allocations: 4 kB / 0.9893 GB, free: 9.266 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.1708, allocations: 497.1 kB / 0.9898 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.1715, allocations: 321.5 kB / 0.9901 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1737, allocations: 1.516 MB / 0.9916 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.1738, allocations: 194.9 kB / 0.9918 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004631/0.1743, allocations: 254.7 kB / 0.992 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.1745, allocations: 112.4 kB / 0.9921 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of SimCode: time 1.102e-06/0.1745, allocations: 4 kB / 0.9921 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of Templates: time 0.01911/0.1936, allocations: 15.86 MB / 1.008 GB, free: 6.758 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.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.829543959815055]