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.0009288/0.0009288, 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.001019/0.001019, allocations: 181.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 1.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.446/2.446, allocations: 438.8 MB / 0.6827 GB, free: 13.64 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.874e-06/1.874e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.365e-05, allocations: 6.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.007286/0.007309, allocations: 4.744 MB / 0.8432 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1539/0.1612, allocations: 146 MB / 0.9859 GB, free: 6.852 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008071/0.162, allocations: 23.81 kB / 0.9859 GB, free: 6.828 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.1625, allocations: 194.1 kB / 0.9861 GB, free: 6.637 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.164, allocations: 0.5822 MB / 0.9866 GB, free: 6.051 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.1657, allocations: 0.8685 MB / 0.9875 GB, free: 5.18 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.1674, allocations: 1.526 MB / 0.989 GB, free: 3.648 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/0.168, allocations: 409.9 kB / 0.9894 GB, free: 3.215 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1692, allocations: 0.8108 MB / 0.9902 GB, free: 2.402 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005336/0.1697, allocations: 394.8 kB / 0.9905 GB, free: 2.016 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.1698, allocations: 119.9 kB / 0.9907 GB, free: 1.898 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009736/0.1708, allocations: 0.5111 MB / 0.9912 GB, free: 1.387 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.171, allocations: 306.9 kB / 0.9915 GB, free: 1.086 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.1714, allocations: 395 kB / 0.9918 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.173, allocations: 1.269 MB / 0.9931 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.173, allocations: 0 / 0.9931 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.933e-06/0.173, allocations: 4 kB / 0.9931 GB, free: 15.42 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.173, allocations: 4 kB / 0.9931 GB, free: 15.42 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.001781/0.1748, allocations: 1.419 MB / 0.9945 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1748, allocations: 12.02 kB / 0.9945 GB, free: 13.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.1761, allocations: 324 kB / 0.9948 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.1769, allocations: 0.5901 MB / 0.9954 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.1769, allocations: 70.12 kB / 0.9954 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.177, allocations: 95.98 kB / 0.9955 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000802/0.1778, allocations: 0.8875 MB / 0.9964 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1778, allocations: 0 / 0.9964 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.1779, allocations: 43.94 kB / 0.9964 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.1779, allocations: 20 kB / 0.9964 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/0.1785, allocations: 0.583 MB / 0.997 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.1807, allocations: 1.671 MB / 0.9986 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.1813, allocations: 446.3 kB / 0.9991 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1815, allocations: 147 kB / 0.9992 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.1816, allocations: 32.97 kB / 0.9992 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004205/0.182, allocations: 479.4 kB / 0.9997 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=94): time 2.705e-06/0.182, allocations: 3.938 kB / 0.9997 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of matching and sorting (n=94): time 0.001134/0.1831, allocations: 0.5927 MB / 1 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.1832, allocations: 196.9 kB / 1 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.1836, allocations: 0.5249 MB / 1.001 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.1836, allocations: 53.69 kB / 1.001 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1838, allocations: 334.6 kB / 1.001 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.1841, allocations: 309.3 kB / 1.002 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.1843, allocations: 186.5 kB / 1.002 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1844, allocations: 394.6 kB / 1.002 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1846, allocations: 100.8 kB / 1.002 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1848, allocations: 327.6 kB / 1.003 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.1852, allocations: 353.2 kB / 1.003 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1852, allocations: 0 / 1.003 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0007243/0.186, allocations: 0.491 MB / 1.003 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.186, allocations: 8.094 kB / 1.003 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.186, allocations: 0 / 1.003 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.1864, allocations: 120.7 kB / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.1871, allocations: 203.7 kB / 1.004 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.1883, allocations: 1.304 MB / 1.005 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.1887, allocations: 91.42 kB / 1.005 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.1887, allocations: 27.97 kB / 1.005 GB, free: 2.574 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.0002227/0.189, allocations: 175.1 kB / 1.005 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1891, allocations: 87.95 kB / 1.005 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.1901, allocations: 0.6578 MB / 1.006 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1902, allocations: 12 kB / 1.006 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1902, allocations: 0 / 1.006 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.1902, allocations: 3.984 kB / 1.006 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.1918, allocations: 1.202 MB / 1.007 GB, free: 380 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1918, allocations: 0 / 1.007 GB, free: 380 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.1923, allocations: 159.8 kB / 1.007 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/0.1926, allocations: 116.7 kB / 1.007 GB, free: 100 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.1927, allocations: 23.97 kB / 1.007 GB, free: 76 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.1939, allocations: 1.328 MB / 1.009 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1939, allocations: 7.922 kB / 1.009 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.1947, allocations: 0.6024 MB / 1.009 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.195, allocations: 151.1 kB / 1.01 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/0.195, allocations: 27.98 kB / 1.01 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1953, allocations: 43.97 kB / 1.01 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.1954, allocations: 76.78 kB / 1.01 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.1955, allocations: 31.97 kB / 1.01 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002252/0.1957, allocations: 251.4 kB / 1.01 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1957, allocations: 0 / 1.01 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007526/0.1965, allocations: 347.1 kB / 1.01 GB, free: 13.12 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.00165/0.1981, allocations: 0.7651 MB / 1.011 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007669/0.1989, allocations: 0.5409 MB / 1.012 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.1989, allocations: 8 kB / 1.012 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.1993, allocations: 395.1 kB / 1.012 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006626/0.1999, allocations: 315.2 kB / 1.012 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.2025, allocations: 1.54 MB / 1.014 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2027, allocations: 211.2 kB / 1.014 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004645/0.2031, allocations: 191.2 kB / 1.014 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.2037, allocations: 315 kB / 1.014 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of SimCode: time 1.533e-06/0.2037, allocations: 0 / 1.014 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of Templates: time 0.02349/0.2272, allocations: 17.54 MB / 1.032 GB, free: 7.855 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 -s gbode -gbm=radauIIA3 -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: 6.143048073165119]