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.001444/0.001444, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001531/0.001531, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.8953/0.8953, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.881/1.881, allocations: 377.8 MB / 0.6239 GB, free: 8.52 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.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.872e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006319/0.006348, allocations: 4.679 MB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.1347, allocations: 146.3 MB / 0.9589 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.1354, allocations: 23.81 kB / 0.9589 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.1359, allocations: 194.2 kB / 0.9591 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.1371, allocations: 0.5747 MB / 0.9597 GB, free: 9.828 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1385, allocations: 0.8763 MB / 0.9605 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009381/0.1395, allocations: 1.463 MB / 0.962 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.14, allocations: 406.9 kB / 0.9624 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007992/0.1408, allocations: 0.7407 MB / 0.9631 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.1411, allocations: 412.8 kB / 0.9635 GB, free: 5.918 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1412, allocations: 128 kB / 0.9636 GB, free: 5.793 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.1418, allocations: 0.4915 MB / 0.9641 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.142, allocations: 319 kB / 0.9644 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1423, allocations: 399 kB / 0.9648 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1434, allocations: 1.277 MB / 0.966 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1434, allocations: 0 / 0.966 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1434, allocations: 3.938 kB / 0.966 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.1434, allocations: 0 / 0.966 GB, free: 3.309 MB / 0.9167 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.001513/0.1449, allocations: 1.519 MB / 0.9675 GB, free: 1.742 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.1449, allocations: 8.031 kB / 0.9675 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.1458, allocations: 347.5 kB / 0.9678 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.1466, allocations: 0.7208 MB / 0.9685 GB, free: 0.6484 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.1466, allocations: 74.11 kB / 0.9686 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.1467, allocations: 92 kB / 0.9687 GB, free: 500 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1479, allocations: 1.013 MB / 0.9697 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1479, allocations: 4 kB / 0.9697 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.148, allocations: 36 kB / 0.9697 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.148, allocations: 20 kB / 0.9698 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.1488, allocations: 0.788 MB / 0.9705 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.1512, allocations: 2.368 MB / 0.9728 GB, free: 12.08 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007756/0.152, allocations: 0.5081 MB / 0.9733 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.1522, allocations: 181.5 kB / 0.9735 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.1523, allocations: 28.62 kB / 0.9735 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/0.1528, allocations: 0.4947 MB / 0.974 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 2.114e-06/0.1528, allocations: 0 / 0.974 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001633/0.1544, allocations: 0.843 MB / 0.9748 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.1545, allocations: 204.9 kB / 0.975 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.155, allocations: 0.5777 MB / 0.9756 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.155, allocations: 49.7 kB / 0.9756 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.1552, allocations: 451.9 kB / 0.9761 GB, free: 8.625 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000402/0.1556, allocations: 293.6 kB / 0.9764 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.1558, allocations: 184.2 kB / 0.9765 GB, free: 8.148 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.156, allocations: 0.5547 MB / 0.9771 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.1562, allocations: 141.9 kB / 0.9772 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.1565, allocations: 385.8 kB / 0.9776 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.157, allocations: 399.1 kB / 0.978 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.157, allocations: 0 / 0.978 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.000975/0.158, allocations: 0.6801 MB / 0.9786 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.158, allocations: 11.94 kB / 0.9786 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.158, allocations: 0 / 0.9786 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.1585, allocations: 127.7 kB / 0.9788 GB, free: 5.777 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.1589, allocations: 179.7 kB / 0.9789 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.1601, allocations: 1.905 MB / 0.9808 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.1604, allocations: 75.55 kB / 0.9809 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.1605, allocations: 43.97 kB / 0.9809 GB, free: 3.453 MB / 0.9323 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.0002009/0.1607, allocations: 219.1 kB / 0.9811 GB, free: 3.227 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.1608, allocations: 119.5 kB / 0.9812 GB, free: 3.109 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.1619, allocations: 0.8458 MB / 0.982 GB, free: 2.246 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1619, allocations: 8 kB / 0.9821 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1619, allocations: 4 kB / 0.9821 GB, free: 2.234 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.162, allocations: 3.984 kB / 0.9821 GB, free: 2.23 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.164, allocations: 1.655 MB / 0.9837 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.164, allocations: 0 / 0.9837 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.1643, allocations: 147.7 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.1646, allocations: 115.6 kB / 0.9839 GB, free: 256 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.1647, allocations: 31.92 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.1657, allocations: 1.929 MB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1657, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.1667, allocations: 0.8805 MB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.1669, allocations: 195.1 kB / 0.9869 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.167, allocations: 24 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.1673, allocations: 50.06 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1674, allocations: 76.8 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.1674, allocations: 35.98 kB / 0.9871 GB, free: 12.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002898/0.1677, allocations: 399 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1677, allocations: 0 / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006075/0.1683, allocations: 343 kB / 0.9878 GB, free: 12.17 MB / 0.948 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.001138/0.1694, allocations: 0.6415 MB / 0.9884 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008482/0.1703, allocations: 0.6837 MB / 0.9891 GB, free: 10.99 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1703, allocations: 4 kB / 0.9891 GB, free: 10.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.1708, allocations: 477 kB / 0.9895 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.1714, allocations: 321.5 kB / 0.9898 GB, free: 10.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.174, allocations: 1.517 MB / 0.9913 GB, free: 8.645 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.1741, allocations: 198.9 kB / 0.9915 GB, free: 8.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004185/0.1745, allocations: 254.6 kB / 0.9918 GB, free: 8.176 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.1747, allocations: 116.4 kB / 0.9919 GB, free: 8.062 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/0.1747, allocations: 0 / 0.9919 GB, free: 8.062 MB / 0.948 GB Notification: Performance of Templates: time 0.01954/0.1942, allocations: 15.86 MB / 1.007 GB, free: 8.48 MB / 0.9636 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.581114219967276]