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.001123/0.001123, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009626/0.0009626, allocations: 173 kB / 23.49 MB, free: 1.059 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.9436/0.9436, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.082/2.082, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.783e-06/1.783e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.606e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00522/0.005246, allocations: 4.783 MB / 0.8828 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1406/0.1458, allocations: 146.3 MB / 1.026 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.1467, allocations: 23.81 kB / 1.026 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.1473, allocations: 198.1 kB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.1488, allocations: 0.5902 MB / 1.027 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1505, allocations: 0.8803 MB / 1.027 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.152, allocations: 1.526 MB / 1.029 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006374/0.1526, allocations: 403.1 kB / 1.029 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.1535, allocations: 0.7718 MB / 1.03 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.154, allocations: 438.7 kB / 1.03 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1541, allocations: 128 kB / 1.031 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008278/0.155, allocations: 0.4915 MB / 1.031 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1552, allocations: 326.9 kB / 1.031 GB, free: 9.207 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.1555, allocations: 410.9 kB / 1.032 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.1569, allocations: 1.3 MB / 1.033 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1569, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.033e-06/0.1569, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.157, allocations: 4 kB / 1.033 GB, free: 7.496 MB / 0.9948 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.001914/0.1589, allocations: 1.572 MB / 1.035 GB, free: 5.875 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1589, allocations: 12.03 kB / 1.035 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.1599, allocations: 351.5 kB / 1.035 GB, free: 5.52 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.1608, allocations: 0.7441 MB / 1.036 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.1609, allocations: 74.11 kB / 1.036 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.1609, allocations: 92 kB / 1.036 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.162, allocations: 1.036 MB / 1.037 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.162, allocations: 7.922 kB / 1.037 GB, free: 3.426 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.1621, allocations: 39.98 kB / 1.037 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.1621, allocations: 24 kB / 1.037 GB, free: 3.363 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.163, allocations: 0.7997 MB / 1.038 GB, free: 2.566 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1657, allocations: 2.376 MB / 1.04 GB, free: 128 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009404/0.1667, allocations: 0.5499 MB / 1.041 GB, free: 15.57 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.1671, allocations: 185.1 kB / 1.041 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.284e-05/0.1671, allocations: 32.98 kB / 1.041 GB, free: 15.35 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/0.1677, allocations: 0.5286 MB / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of pre-optimization done (n=94): time 3.547e-06/0.1677, allocations: 0 / 1.041 GB, free: 14.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=94): time 0.002185/0.1699, allocations: 0.9055 MB / 1.042 GB, free: 13.86 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.1699, allocations: 200.9 kB / 1.042 GB, free: 13.62 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.1706, allocations: 0.5932 MB / 1.043 GB, free: 13.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.12e-05/0.1707, allocations: 53.7 kB / 1.043 GB, free: 12.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.171, allocations: 460 kB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.1712, allocations: 313.4 kB / 1.044 GB, free: 12.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.1714, allocations: 204.2 kB / 1.044 GB, free: 11.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1716, allocations: 0.5587 MB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.1719, allocations: 161.8 kB / 1.045 GB, free: 11.25 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.1724, allocations: 401.7 kB / 1.045 GB, free: 10.81 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.1731, allocations: 419.1 kB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1731, allocations: 7.938 kB / 1.045 GB, free: 10.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001403/0.1745, allocations: 0.723 MB / 1.046 GB, free: 9.648 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1745, allocations: 8.094 kB / 1.046 GB, free: 9.641 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1746, allocations: 4 kB / 1.046 GB, free: 9.637 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.1751, allocations: 131.5 kB / 1.046 GB, free: 9.504 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.1757, allocations: 187.8 kB / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.1774, allocations: 1.91 MB / 1.048 GB, free: 7.281 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.1779, allocations: 83.53 kB / 1.048 GB, free: 7.199 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.178, allocations: 39.97 kB / 1.048 GB, free: 7.16 MB / 1.01 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.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,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.0003036/0.1783, allocations: 219 kB / 1.049 GB, free: 6.938 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.1785, allocations: 119.4 kB / 1.049 GB, free: 6.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.1801, allocations: 0.928 MB / 1.05 GB, free: 5.871 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1801, allocations: 12 kB / 1.05 GB, free: 5.859 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1801, allocations: 0 / 1.05 GB, free: 5.859 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.1801, allocations: 3.984 kB / 1.05 GB, free: 5.855 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.1828, allocations: 1.771 MB / 1.051 GB, free: 4.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1828, allocations: 0 / 1.051 GB, free: 4.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.1832, allocations: 159.7 kB / 1.051 GB, free: 3.863 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.1836, allocations: 119.5 kB / 1.052 GB, free: 3.742 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.1837, allocations: 31.97 kB / 1.052 GB, free: 3.711 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.1851, allocations: 1.915 MB / 1.054 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1851, allocations: 0 / 1.054 GB, free: 1.672 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.1865, allocations: 0.9429 MB / 1.054 GB, free: 0.7031 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.1869, allocations: 215 kB / 1.055 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.187, allocations: 27.98 kB / 1.055 GB, free: 476 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.1877, allocations: 51.91 kB / 1.055 GB, free: 424 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.1879, allocations: 80.83 kB / 1.055 GB, free: 344 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.1879, allocations: 39.98 kB / 1.055 GB, free: 304 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4971/0.685, allocations: 403.5 kB / 1.055 GB, free: 75.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.1e-07/0.685, allocations: 0 / 1.055 GB, free: 75.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001109/0.6861, allocations: 352.6 kB / 1.056 GB, free: 75.45 MB / 1.01 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.001262/0.6874, allocations: 0.625 MB / 1.056 GB, free: 75.31 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.6885, allocations: 0.7214 MB / 1.057 GB, free: 75.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6885, allocations: 2.844 kB / 1.057 GB, free: 75.12 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.6889, allocations: 0.4988 MB / 1.057 GB, free: 74.94 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.6897, allocations: 335 kB / 1.058 GB, free: 74.93 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.6919, allocations: 1.594 MB / 1.059 GB, free: 74.22 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.692, allocations: 198.6 kB / 1.059 GB, free: 74.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005491/0.6925, allocations: 264.2 kB / 1.06 GB, free: 74.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.6927, allocations: 119.6 kB / 1.06 GB, free: 74.11 MB / 1.01 GB Notification: Performance of SimCode: time 1.162e-06/0.6927, allocations: 1.031 kB / 1.06 GB, free: 74.11 MB / 1.01 GB Notification: Performance of Templates: time 0.01757/0.7103, allocations: 16.41 MB / 1.076 GB, free: 72.67 MB / 1.01 GB " [Timeout remaining time 299] 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: 6.518114225938916]