Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001018/0.001018, 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.00107/0.00107, 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.9136/0.9136, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.876/1.876, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 177] 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.485e-05, allocations: 3.219 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00509/0.005115, allocations: 5.018 MB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.1442, allocations: 146.6 MB / 0.9596 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1455, allocations: 23.81 kB / 0.9596 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008513/0.1464, allocations: 198.1 kB / 0.9598 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.1491, allocations: 0.594 MB / 0.9604 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.1513, allocations: 0.8841 MB / 0.9612 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001902/0.1532, allocations: 1.537 MB / 0.9627 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.154, allocations: 448.6 kB / 0.9632 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1551, allocations: 0.7992 MB / 0.9639 GB, free: 5.152 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.1558, allocations: 446.7 kB / 0.9644 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.1561, allocations: 132 kB / 0.9645 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.1572, allocations: 0.5033 MB / 0.965 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.1575, allocations: 338.8 kB / 0.9653 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.158, allocations: 431 kB / 0.9657 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.1599, allocations: 1.347 MB / 0.967 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1599, allocations: 0 / 0.967 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1599, allocations: 4 kB / 0.967 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.918e-05/0.16, allocations: 0 / 0.967 GB, free: 1.969 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002222/0.1622, allocations: 1.597 MB / 0.9686 GB, free: 332 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1622, allocations: 8.031 kB / 0.9686 GB, free: 324 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1633, allocations: 391.4 kB / 0.969 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.1643, allocations: 0.7441 MB / 0.9697 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.1643, allocations: 82.11 kB / 0.9698 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/0.1644, allocations: 100 kB / 0.9699 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1656, allocations: 1.083 MB / 0.9709 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.1656, allocations: 0 / 0.9709 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.1657, allocations: 43.94 kB / 0.971 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.1657, allocations: 24 kB / 0.971 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009174/0.1666, allocations: 0.8309 MB / 0.9718 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.1695, allocations: 2.376 MB / 0.9741 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1706, allocations: 0.5759 MB / 0.9747 GB, free: 9.867 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.1709, allocations: 182.6 kB / 0.9749 GB, free: 9.688 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.861e-05/0.1709, allocations: 32.98 kB / 0.9749 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006301/0.1716, allocations: 0.5105 MB / 0.9754 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 3.416e-06/0.1716, allocations: 96 / 0.9754 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001659/0.1732, allocations: 0.8743 MB / 0.9763 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.1733, allocations: 200.9 kB / 0.9765 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.1738, allocations: 0.5815 MB / 0.977 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.1739, allocations: 49.7 kB / 0.9771 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.1742, allocations: 487.9 kB / 0.9775 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.1744, allocations: 301.5 kB / 0.9778 GB, free: 6.547 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.1746, allocations: 188.2 kB / 0.978 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1748, allocations: 0.5664 MB / 0.9786 GB, free: 5.777 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.175, allocations: 149.9 kB / 0.9787 GB, free: 5.633 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.1754, allocations: 393.8 kB / 0.9791 GB, free: 5.191 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.1759, allocations: 411.1 kB / 0.9795 GB, free: 4.777 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1759, allocations: 0 / 0.9795 GB, free: 4.777 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001078/0.177, allocations: 0.6996 MB / 0.9801 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.177, allocations: 7.938 kB / 0.9802 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1771, allocations: 4 kB / 0.9802 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000515/0.1776, allocations: 131.7 kB / 0.9803 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.178, allocations: 183.7 kB / 0.9805 GB, free: 3.742 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.1794, allocations: 1.906 MB / 0.9823 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1798, allocations: 83.56 kB / 0.9824 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.1798, allocations: 43.97 kB / 0.9824 GB, free: 1.586 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 (109): * Single equations (assignments): 108 * 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.0002561/0.1801, allocations: 219 kB / 0.9826 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.1802, allocations: 119.4 kB / 0.9828 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/0.1814, allocations: 0.8771 MB / 0.9836 GB, free: 360 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.1814, allocations: 8 kB / 0.9836 GB, free: 352 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1814, allocations: 0 / 0.9836 GB, free: 352 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.1815, allocations: 7.969 kB / 0.9836 GB, free: 344 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.1836, allocations: 1.698 MB / 0.9853 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1836, allocations: 7.922 kB / 0.9853 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.1839, allocations: 159.7 kB / 0.9855 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/0.1843, allocations: 111.6 kB / 0.9856 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.1843, allocations: 23.98 kB / 0.9856 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.1859, allocations: 1.933 MB / 0.9875 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1859, allocations: 0 / 0.9875 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.1871, allocations: 0.9039 MB / 0.9884 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.1875, allocations: 199.1 kB / 0.9885 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.1875, allocations: 31.88 kB / 0.9886 GB, free: 11.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.1878, allocations: 49.36 kB / 0.9886 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.1879, allocations: 76.86 kB / 0.9887 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.188, allocations: 39.97 kB / 0.9887 GB, free: 10.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003367/0.1883, allocations: 391 kB / 0.9891 GB, free: 10.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/0.1883, allocations: 0 / 0.9891 GB, free: 10.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008522/0.1892, allocations: 367 kB / 0.9895 GB, free: 10.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 (102): * Single equations (assignments): 91 * 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.001386/0.1906, allocations: 0.6277 MB / 0.9901 GB, free: 9.711 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.1919, allocations: 0.7032 MB / 0.9908 GB, free: 8.984 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1919, allocations: 0 / 0.9908 GB, free: 8.984 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.1924, allocations: 0.4892 MB / 0.9912 GB, free: 8.473 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.1932, allocations: 329.2 kB / 0.9915 GB, free: 8.172 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.1958, allocations: 1.611 MB / 0.9931 GB, free: 6.523 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.1959, allocations: 199.1 kB / 0.9933 GB, free: 6.309 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006103/0.1965, allocations: 266.8 kB / 0.9936 GB, free: 6.043 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1967, allocations: 112.4 kB / 0.9937 GB, free: 5.934 MB / 0.948 GB Notification: Performance of SimCode: time 1.924e-06/0.1967, allocations: 0 / 0.9937 GB, free: 5.934 MB / 0.948 GB Notification: Performance of Templates: time 0.01982/0.2165, allocations: 16.11 MB / 1.009 GB, free: 6.113 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.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.83072124607861]