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.0009987/0.0009987, 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.001015/0.001015, allocations: 173.3 kB / 23.5 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.9353/0.9353, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.024/2.024, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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.393e-06/1.393e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.753e-05, allocations: 5.797 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004748/0.004765, allocations: 4.99 MB / 0.883 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1275/0.1323, allocations: 146.3 MB / 1.026 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008333/0.1331, allocations: 23.81 kB / 1.026 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.1337, allocations: 206.1 kB / 1.026 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.135, allocations: 0.594 MB / 1.027 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1364, allocations: 0.8764 MB / 1.028 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009364/0.1373, allocations: 1.537 MB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.138, allocations: 448.5 kB / 1.03 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.1386, allocations: 0.8069 MB / 1.03 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.139, allocations: 438.7 kB / 1.031 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1391, allocations: 132 kB / 1.031 GB, free: 9.695 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.1396, allocations: 0.5032 MB / 1.031 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.1398, allocations: 338.9 kB / 1.032 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002793/0.1401, allocations: 426.9 kB / 1.032 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1412, allocations: 1.343 MB / 1.033 GB, free: 7.094 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1412, allocations: 4 kB / 1.033 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1412, allocations: 0 / 1.033 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.1412, allocations: 0 / 1.033 GB, free: 7.09 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.00158/0.1428, allocations: 1.597 MB / 1.035 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1428, allocations: 8.031 kB / 1.035 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.1439, allocations: 387.3 kB / 1.035 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.1446, allocations: 0.7434 MB / 1.036 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.1447, allocations: 86.11 kB / 1.036 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.1448, allocations: 107.9 kB / 1.036 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.1458, allocations: 1.08 MB / 1.037 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1459, allocations: 0 / 1.037 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.154e-05/0.1459, allocations: 40 kB / 1.037 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.1459, allocations: 28 kB / 1.037 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.1468, allocations: 0.827 MB / 1.038 GB, free: 2.012 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.1493, allocations: 2.372 MB / 1.041 GB, free: 15.59 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1504, allocations: 0.5802 MB / 1.041 GB, free: 14.99 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.1506, allocations: 186.6 kB / 1.041 GB, free: 14.81 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.1507, allocations: 36.97 kB / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000492/0.1512, allocations: 0.4988 MB / 1.042 GB, free: 14.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 1.744e-06/0.1512, allocations: 0 / 1.042 GB, free: 14.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001567/0.1528, allocations: 0.8743 MB / 1.043 GB, free: 13.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.1528, allocations: 200.9 kB / 1.043 GB, free: 13.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.1534, allocations: 0.5776 MB / 1.043 GB, free: 12.51 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.1534, allocations: 49.7 kB / 1.043 GB, free: 12.46 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.1537, allocations: 491.8 kB / 1.044 GB, free: 11.97 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1539, allocations: 305.4 kB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.154, allocations: 188.2 kB / 1.044 GB, free: 11.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1542, allocations: 0.5625 MB / 1.045 GB, free: 10.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1544, allocations: 149.8 kB / 1.045 GB, free: 10.76 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.1548, allocations: 397.8 kB / 1.045 GB, free: 10.32 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.1553, allocations: 415.1 kB / 1.046 GB, free: 9.898 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1553, allocations: 0 / 1.046 GB, free: 9.898 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001009/0.1563, allocations: 0.6919 MB / 1.047 GB, free: 9.195 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1563, allocations: 4 kB / 1.047 GB, free: 9.191 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1564, allocations: 7.938 kB / 1.047 GB, free: 9.184 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.1568, allocations: 135.6 kB / 1.047 GB, free: 9.047 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1572, allocations: 179.8 kB / 1.047 GB, free: 8.871 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1585, allocations: 1.901 MB / 1.049 GB, free: 6.848 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.1588, allocations: 87.53 kB / 1.049 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.1589, allocations: 39.97 kB / 1.049 GB, free: 6.723 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.0002072/0.1591, allocations: 223.2 kB / 1.049 GB, free: 6.496 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1592, allocations: 115.4 kB / 1.049 GB, free: 6.383 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.1604, allocations: 0.8615 MB / 1.05 GB, free: 5.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1604, allocations: 12 kB / 1.05 GB, free: 5.488 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1604, allocations: 3.938 kB / 1.05 GB, free: 5.484 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1604, allocations: 3.984 kB / 1.05 GB, free: 5.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.1624, allocations: 1.706 MB / 1.052 GB, free: 3.719 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1624, allocations: 3.938 kB / 1.052 GB, free: 3.715 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.1627, allocations: 151.8 kB / 1.052 GB, free: 3.566 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003458/0.1631, allocations: 119.6 kB / 1.052 GB, free: 3.445 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.1631, allocations: 27.98 kB / 1.052 GB, free: 3.418 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.1643, allocations: 1.914 MB / 1.054 GB, free: 1.379 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1643, allocations: 0 / 1.054 GB, free: 1.379 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1653, allocations: 0.9 MB / 1.055 GB, free: 468 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.1655, allocations: 211 kB / 1.055 GB, free: 256 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.1656, allocations: 27.94 kB / 1.055 GB, free: 228 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.1659, allocations: 46.45 kB / 1.055 GB, free: 184 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.166, allocations: 76.84 kB / 1.055 GB, free: 108 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.166, allocations: 35.98 kB / 1.055 GB, free: 72 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4732/0.6392, allocations: 390.6 kB / 1.055 GB, free: 70.27 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6392, allocations: 0 / 1.055 GB, free: 70.27 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001426/0.6406, allocations: 364.8 kB / 1.056 GB, free: 70.27 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.001669/0.6423, allocations: 0.6176 MB / 1.056 GB, free: 70.14 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.6438, allocations: 0.7033 MB / 1.057 GB, free: 69.96 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6438, allocations: 0.7188 kB / 1.057 GB, free: 69.96 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006923/0.6445, allocations: 0.4892 MB / 1.058 GB, free: 69.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6456, allocations: 318.7 kB / 1.058 GB, free: 69.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.6488, allocations: 1.617 MB / 1.059 GB, free: 69.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.649, allocations: 203.1 kB / 1.06 GB, free: 68.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007417/0.6497, allocations: 265.3 kB / 1.06 GB, free: 68.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.65, allocations: 117.4 kB / 1.06 GB, free: 68.93 MB / 1.01 GB Notification: Performance of SimCode: time 1.223e-06/0.65, allocations: 0 / 1.06 GB, free: 68.93 MB / 1.01 GB Notification: Performance of Templates: time 0.01816/0.6681, allocations: 16.09 MB / 1.076 GB, free: 67.52 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.404131104005501]