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.001469/0.001469, allocations: 97.06 kB / 19.65 MB, free: 276 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.001661/0.001661, allocations: 173 kB / 23.02 MB, free: 1.547 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.9301/0.9301, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 1.962/1.962, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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.422e-06/1.422e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.572e-05, allocations: 3.078 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005234/0.00526, allocations: 5.019 MB / 0.883 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1252/0.1304, allocations: 146.6 MB / 1.026 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/0.1312, allocations: 23.81 kB / 1.026 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.1317, allocations: 202.1 kB / 1.026 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.1332, allocations: 0.6056 MB / 1.027 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1346, allocations: 0.8802 MB / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.136, allocations: 1.533 MB / 1.029 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006549/0.1366, allocations: 452.5 kB / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1376, allocations: 0.8381 MB / 1.031 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004674/0.1381, allocations: 410.8 kB / 1.031 GB, free: 9.254 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1382, allocations: 120 kB / 1.031 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007828/0.139, allocations: 0.4954 MB / 1.032 GB, free: 8.641 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.1392, allocations: 322.9 kB / 1.032 GB, free: 8.324 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.1395, allocations: 410.9 kB / 1.032 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.141, allocations: 1.312 MB / 1.034 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.141, allocations: 4 kB / 1.034 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.141, allocations: 0 / 1.034 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.141, allocations: 4 kB / 1.034 GB, free: 6.598 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.001834/0.1429, allocations: 1.577 MB / 1.035 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1429, allocations: 12.02 kB / 1.035 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.144, allocations: 391.3 kB / 1.036 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.1448, allocations: 0.7336 MB / 1.036 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.1448, allocations: 78.12 kB / 1.036 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.968e-05/0.1449, allocations: 104 kB / 1.036 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.146, allocations: 1.003 MB / 1.037 GB, free: 2.543 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.146, allocations: 0 / 1.037 GB, free: 2.543 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.146, allocations: 47.98 kB / 1.037 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.146, allocations: 20 kB / 1.037 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.147, allocations: 0.8309 MB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.1497, allocations: 2.329 MB / 1.041 GB, free: 15.26 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1507, allocations: 0.565 MB / 1.041 GB, free: 14.68 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.151, allocations: 196.4 kB / 1.041 GB, free: 14.49 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.151, allocations: 40.92 kB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/0.1515, allocations: 0.495 MB / 1.042 GB, free: 13.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 3.095e-06/0.1515, allocations: 0 / 1.042 GB, free: 13.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.001587/0.1531, allocations: 0.8704 MB / 1.043 GB, free: 13.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.1532, allocations: 204.9 kB / 1.043 GB, free: 12.79 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.1537, allocations: 0.562 MB / 1.043 GB, free: 12.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.1538, allocations: 49.7 kB / 1.043 GB, free: 12.16 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.154, allocations: 487.9 kB / 1.044 GB, free: 11.67 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.1542, allocations: 301.5 kB / 1.044 GB, free: 11.38 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.1544, allocations: 188.2 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1545, allocations: 0.5664 MB / 1.045 GB, free: 10.61 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1548, allocations: 149.9 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.1551, allocations: 393.8 kB / 1.045 GB, free: 10.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.1557, allocations: 407.1 kB / 1.046 GB, free: 9.609 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1557, allocations: 0 / 1.046 GB, free: 9.609 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001061/0.1567, allocations: 0.6996 MB / 1.047 GB, free: 8.898 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1568, allocations: 8 kB / 1.047 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1568, allocations: 0 / 1.047 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/0.1573, allocations: 131.7 kB / 1.047 GB, free: 8.758 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.1577, allocations: 183.7 kB / 1.047 GB, free: 8.578 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.1591, allocations: 1.904 MB / 1.049 GB, free: 6.551 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.1595, allocations: 79.53 kB / 1.049 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.1595, allocations: 39.97 kB / 1.049 GB, free: 6.434 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.0002517/0.1598, allocations: 219.3 kB / 1.049 GB, free: 6.211 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.1599, allocations: 119.4 kB / 1.049 GB, free: 6.094 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.1611, allocations: 0.8615 MB / 1.05 GB, free: 5.215 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1611, allocations: 12 kB / 1.05 GB, free: 5.203 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1611, allocations: 0 / 1.05 GB, free: 5.203 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.1611, allocations: 7.969 kB / 1.05 GB, free: 5.195 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.1631, allocations: 1.686 MB / 1.052 GB, free: 3.449 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1631, allocations: 3.984 kB / 1.052 GB, free: 3.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.1634, allocations: 147.8 kB / 1.052 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/0.1637, allocations: 115.6 kB / 1.052 GB, free: 3.184 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.1638, allocations: 27.92 kB / 1.052 GB, free: 3.156 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.1649, allocations: 1.921 MB / 1.054 GB, free: 1.109 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1649, allocations: 3.938 kB / 1.054 GB, free: 1.105 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.1659, allocations: 0.8884 MB / 1.055 GB, free: 200 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4433/0.6092, allocations: 207.7 kB / 1.055 GB, free: 73.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.6094, allocations: 22.53 kB / 1.055 GB, free: 73.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.6098, allocations: 47.75 kB / 1.055 GB, free: 73.67 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.61, allocations: 72.84 kB / 1.055 GB, free: 73.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.61, allocations: 35.05 kB / 1.055 GB, free: 73.67 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003281/0.6103, allocations: 379.8 kB / 1.055 GB, free: 73.53 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6103, allocations: 0 / 1.055 GB, free: 73.53 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007309/0.6111, allocations: 361.6 kB / 1.056 GB, free: 73.53 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.001447/0.6125, allocations: 0.6314 MB / 1.056 GB, free: 73.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.6137, allocations: 0.6936 MB / 1.057 GB, free: 73.21 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6137, allocations: 0.6875 kB / 1.057 GB, free: 73.21 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.6142, allocations: 0.4893 MB / 1.058 GB, free: 73.03 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.615, allocations: 318.6 kB / 1.058 GB, free: 73.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.6176, allocations: 1.605 MB / 1.059 GB, free: 72.29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.6177, allocations: 204.8 kB / 1.06 GB, free: 72.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005665/0.6182, allocations: 265.8 kB / 1.06 GB, free: 72.18 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.6184, allocations: 116.1 kB / 1.06 GB, free: 72.18 MB / 1.01 GB Notification: Performance of SimCode: time 2.264e-06/0.6184, allocations: 0.8438 kB / 1.06 GB, free: 72.18 MB / 1.01 GB Notification: Performance of Templates: time 0.01933/0.6378, allocations: 16.82 MB / 1.076 GB, free: 70.64 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.191375718917698]