Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009739/0.0009739, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009622/0.0009622, allocations: 169 kB / 23.02 MB, free: 1.551 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.9904/0.9904, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.083/2.083, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.287e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007781/0.007814, allocations: 5.019 MB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.1528, allocations: 146.6 MB / 1.026 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000788/0.1536, allocations: 23.81 kB / 1.026 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.1541, allocations: 210.1 kB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.1553, allocations: 0.5901 MB / 1.027 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.1567, allocations: 0.8841 MB / 1.028 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009274/0.1576, allocations: 1.541 MB / 1.029 GB, free: 10.91 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005377/0.1582, allocations: 440.6 kB / 1.03 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/0.1588, allocations: 0.8069 MB / 1.031 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.1592, allocations: 446.7 kB / 1.031 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1593, allocations: 132 kB / 1.031 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.1599, allocations: 0.4955 MB / 1.032 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1601, allocations: 338.9 kB / 1.032 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.1604, allocations: 430.8 kB / 1.032 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1616, allocations: 1.347 MB / 1.034 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1616, allocations: 0 / 1.034 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1616, allocations: 0 / 1.034 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.1616, allocations: 0 / 1.034 GB, free: 6.492 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001479/0.1631, allocations: 1.593 MB / 1.035 GB, free: 4.852 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1631, allocations: 8.031 kB / 1.035 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009702/0.1641, allocations: 387.3 kB / 1.036 GB, free: 4.465 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007565/0.1649, allocations: 0.7511 MB / 1.036 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.1649, allocations: 82.12 kB / 1.036 GB, free: 3.605 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-05/0.165, allocations: 100 kB / 1.037 GB, free: 3.508 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009825/0.166, allocations: 1.08 MB / 1.038 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.166, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.1661, allocations: 40 kB / 1.038 GB, free: 2.277 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.1661, allocations: 35.92 kB / 1.038 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.1669, allocations: 0.8232 MB / 1.038 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.1697, allocations: 2.38 MB / 1.041 GB, free: 14.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.1708, allocations: 0.5745 MB / 1.041 GB, free: 14.39 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1711, allocations: 182.6 kB / 1.041 GB, free: 14.21 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.349e-05/0.1711, allocations: 36.97 kB / 1.042 GB, free: 14.17 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005442/0.1717, allocations: 0.5027 MB / 1.042 GB, free: 13.62 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 1.933e-06/0.1717, allocations: 0 / 1.042 GB, free: 13.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001614/0.1733, allocations: 0.882 MB / 1.043 GB, free: 12.74 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.1734, allocations: 196.9 kB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.1739, allocations: 0.5776 MB / 1.044 GB, free: 11.91 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.174, allocations: 49.7 kB / 1.044 GB, free: 11.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.1742, allocations: 487.9 kB / 1.044 GB, free: 11.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.1744, allocations: 305.4 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.1746, allocations: 188.2 kB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.1748, allocations: 0.5625 MB / 1.045 GB, free: 10.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.1751, allocations: 145.9 kB / 1.045 GB, free: 10.16 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.1755, allocations: 393.8 kB / 1.046 GB, free: 9.727 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.176, allocations: 419.1 kB / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.176, allocations: 0 / 1.046 GB, free: 9.305 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001104/0.1771, allocations: 0.6958 MB / 1.047 GB, free: 8.598 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1772, allocations: 8 kB / 1.047 GB, free: 8.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1772, allocations: 0 / 1.047 GB, free: 8.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004746/0.1776, allocations: 135.6 kB / 1.047 GB, free: 8.453 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.178, allocations: 183.7 kB / 1.047 GB, free: 8.273 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.1794, allocations: 1.905 MB / 1.049 GB, free: 6.242 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.1797, allocations: 82.03 kB / 1.049 GB, free: 6.164 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.1797, allocations: 39.97 kB / 1.049 GB, free: 6.125 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: 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.0002018/0.1799, allocations: 223.2 kB / 1.049 GB, free: 5.898 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.18, allocations: 115.4 kB / 1.049 GB, free: 5.785 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.1812, allocations: 0.8693 MB / 1.05 GB, free: 4.895 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1812, allocations: 8 kB / 1.05 GB, free: 4.887 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1812, allocations: 0 / 1.05 GB, free: 4.887 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1812, allocations: 3.984 kB / 1.05 GB, free: 4.883 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.1831, allocations: 1.706 MB / 1.052 GB, free: 3.121 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1831, allocations: 3.938 kB / 1.052 GB, free: 3.117 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.1834, allocations: 151.8 kB / 1.052 GB, free: 2.969 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.1838, allocations: 119.6 kB / 1.052 GB, free: 2.848 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.1838, allocations: 27.98 kB / 1.052 GB, free: 2.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.185, allocations: 1.91 MB / 1.054 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.185, allocations: 0 / 1.054 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4726/0.6576, allocations: 0.9 MB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/0.6582, allocations: 203.8 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6583, allocations: 28.27 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.6586, allocations: 47.95 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.6588, allocations: 77.19 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.6588, allocations: 43.23 kB / 1.055 GB, free: 69.95 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003666/0.6592, allocations: 388.6 kB / 1.056 GB, free: 69.81 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6592, allocations: 0 / 1.056 GB, free: 69.81 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008268/0.66, allocations: 362.6 kB / 1.056 GB, free: 69.81 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: 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 (101): * Single equations (assignments): 90 * 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.001355/0.6614, allocations: 0.6282 MB / 1.057 GB, free: 69.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.6625, allocations: 0.7092 MB / 1.057 GB, free: 69.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.6625, allocations: 1.641 kB / 1.057 GB, free: 69.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.663, allocations: 488.5 kB / 1.058 GB, free: 69.32 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.6638, allocations: 323.7 kB / 1.058 GB, free: 69.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.6664, allocations: 1.611 MB / 1.06 GB, free: 68.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.6665, allocations: 204.3 kB / 1.06 GB, free: 68.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000555/0.6671, allocations: 267.9 kB / 1.06 GB, free: 68.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.6673, allocations: 115.4 kB / 1.06 GB, free: 68.46 MB / 1.01 GB Notification: Performance of SimCode: time 2.024e-06/0.6673, allocations: 0 / 1.06 GB, free: 68.46 MB / 1.01 GB Notification: Performance of Templates: time 0.02006/0.6874, allocations: 16.09 MB / 1.076 GB, free: 67.04 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.506208248902112]