Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.0009066/0.0009066, allocations: 80.88 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.0009757/0.0009757, allocations: 181 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.975/0.975, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.349/2.349, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.415e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00467/0.004685, allocations: 4.693 MB / 0.8431 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1456/0.1502, allocations: 146.1 MB / 0.9858 GB, free: 6.867 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.1509, allocations: 23.81 kB / 0.9858 GB, free: 6.844 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.1514, allocations: 190.2 kB / 0.986 GB, free: 6.656 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.1528, allocations: 0.5979 MB / 0.9866 GB, free: 6.055 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1542, allocations: 0.8842 MB / 0.9874 GB, free: 5.168 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.1556, allocations: 1.514 MB / 0.9889 GB, free: 3.648 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.1562, allocations: 417.9 kB / 0.9893 GB, free: 3.207 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008952/0.1571, allocations: 0.8068 MB / 0.9901 GB, free: 2.398 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.1575, allocations: 398.8 kB / 0.9905 GB, free: 2.008 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.1576, allocations: 116 kB / 0.9906 GB, free: 1.895 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007035/0.1583, allocations: 0.4915 MB / 0.9911 GB, free: 1.402 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1585, allocations: 310.9 kB / 0.9914 GB, free: 1.098 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.1588, allocations: 387 kB / 0.9917 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.16, allocations: 1.277 MB / 0.993 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.16, allocations: 0 / 0.993 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.91e-07/0.16, allocations: 0 / 0.993 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.16, allocations: 0 / 0.993 GB, free: 15.44 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001484/0.1615, allocations: 1.416 MB / 0.9944 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.1615, allocations: 8.031 kB / 0.9944 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008719/0.1624, allocations: 328.1 kB / 0.9947 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/0.1634, allocations: 0.5901 MB / 0.9953 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.1634, allocations: 70.12 kB / 0.9953 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.1635, allocations: 95.98 kB / 0.9954 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/0.1642, allocations: 0.8953 MB / 0.9963 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1642, allocations: 0 / 0.9963 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.1642, allocations: 36 kB / 0.9963 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1643, allocations: 20 kB / 0.9964 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.1648, allocations: 0.5791 MB / 0.9969 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.1669, allocations: 1.675 MB / 0.9986 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.1674, allocations: 443.2 kB / 0.999 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.1675, allocations: 146.5 kB / 0.9991 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.1676, allocations: 28.97 kB / 0.9992 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.168, allocations: 491.2 kB / 0.9996 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=94): time 1.924e-06/0.168, allocations: 0 / 0.9996 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=94): time 0.001038/0.169, allocations: 0.5966 MB / 1 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.1691, allocations: 200.9 kB / 1 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.1694, allocations: 0.5133 MB / 1.001 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/0.1695, allocations: 53.69 kB / 1.001 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1696, allocations: 334.6 kB / 1.001 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.1698, allocations: 309.3 kB / 1.002 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.17, allocations: 182.5 kB / 1.002 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003681/0.1703, allocations: 402.6 kB / 1.002 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1705, allocations: 96.77 kB / 1.002 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1707, allocations: 327.7 kB / 1.003 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.171, allocations: 353.2 kB / 1.003 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.171, allocations: 0 / 1.003 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.000647/0.1717, allocations: 0.4911 MB / 1.003 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1717, allocations: 4 kB / 1.003 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1717, allocations: 0 / 1.003 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.1721, allocations: 124.7 kB / 1.003 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.1725, allocations: 183.7 kB / 1.004 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009826/0.1734, allocations: 1.313 MB / 1.005 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.1737, allocations: 83.47 kB / 1.005 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1738, allocations: 32 kB / 1.005 GB, free: 2.613 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (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,decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.00018/0.1739, allocations: 179.2 kB / 1.005 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.174, allocations: 83.92 kB / 1.005 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.1749, allocations: 0.6539 MB / 1.006 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1749, allocations: 8 kB / 1.006 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1749, allocations: 0 / 1.006 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1749, allocations: 11.91 kB / 1.006 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.1762, allocations: 1.206 MB / 1.007 GB, free: 416 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1762, allocations: 0 / 1.007 GB, free: 416 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.1765, allocations: 151.8 kB / 1.007 GB, free: 264 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002973/0.1768, allocations: 116.7 kB / 1.007 GB, free: 144 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.1768, allocations: 19.98 kB / 1.007 GB, free: 124 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008276/0.1776, allocations: 1.332 MB / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1777, allocations: 3.938 kB / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.1785, allocations: 0.6063 MB / 1.009 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.1787, allocations: 151.1 kB / 1.009 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.1788, allocations: 27.98 kB / 1.009 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.179, allocations: 39.97 kB / 1.009 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.1791, allocations: 76.84 kB / 1.01 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.1791, allocations: 23.98 kB / 1.01 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001855/0.1793, allocations: 251.4 kB / 1.01 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.1793, allocations: 0 / 1.01 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005629/0.1799, allocations: 351.1 kB / 1.01 GB, free: 13.17 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: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,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: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.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,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001494/0.1814, allocations: 0.7615 MB / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006624/0.182, allocations: 0.541 MB / 1.011 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/0.182, allocations: 4 kB / 1.011 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.1824, allocations: 398.9 kB / 1.012 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.183, allocations: 322.6 kB / 1.012 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1849, allocations: 1.538 MB / 1.014 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.185, allocations: 211.2 kB / 1.014 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003752/0.1854, allocations: 199.1 kB / 1.014 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.1859, allocations: 319 kB / 1.014 GB, free: 9.102 MB / 0.9792 GB Notification: Performance of SimCode: time 6.91e-07/0.1859, allocations: 4 kB / 1.014 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of Templates: time 0.02004/0.206, allocations: 17.51 MB / 1.031 GB, free: 7.91 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.903053834103048]