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.0008828/0.0008828, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001675/0.001675, allocations: 177 kB / 23.36 MB, free: 1.129 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.9016/0.9016, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.298/2.298, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.502e-06/1.502e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.558e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006575/0.006591, allocations: 4.909 MB / 0.8434 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1242/0.1307, allocations: 146.1 MB / 0.986 GB, free: 6.617 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.1314, allocations: 27.75 kB / 0.986 GB, free: 6.59 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.1319, allocations: 202.1 kB / 0.9862 GB, free: 6.391 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.1332, allocations: 0.6095 MB / 0.9868 GB, free: 5.777 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1346, allocations: 0.8958 MB / 0.9877 GB, free: 4.879 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1358, allocations: 1.525 MB / 0.9892 GB, free: 3.348 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.1363, allocations: 460.6 kB / 0.9896 GB, free: 2.867 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.1372, allocations: 0.8303 MB / 0.9904 GB, free: 2.035 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.1376, allocations: 418.7 kB / 0.9908 GB, free: 1.625 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.1377, allocations: 128 kB / 0.991 GB, free: 1.5 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006305/0.1383, allocations: 495.4 kB / 0.9914 GB, free: 1.016 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.1385, allocations: 322.9 kB / 0.9917 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.1388, allocations: 414.9 kB / 0.9921 GB, free: 300 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.1399, allocations: 1.312 MB / 0.9934 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1399, allocations: 0 / 0.9934 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1399, allocations: 0 / 0.9934 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.1399, allocations: 0 / 0.9934 GB, free: 14.98 MB / 0.9636 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.001429/0.1414, allocations: 1.444 MB / 0.9948 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1414, allocations: 8.625 kB / 0.9948 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009102/0.1423, allocations: 360 kB / 0.9952 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.143, allocations: 0.5854 MB / 0.9957 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.143, allocations: 78.12 kB / 0.9958 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.1431, allocations: 104 kB / 0.9959 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.1438, allocations: 0.9257 MB / 0.9968 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1439, allocations: 3.938 kB / 0.9968 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.1439, allocations: 40 kB / 0.9969 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1439, allocations: 24 kB / 0.9969 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.1445, allocations: 0.5948 MB / 0.9975 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.1466, allocations: 1.69 MB / 0.9991 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.1474, allocations: 470.9 kB / 0.9996 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1475, allocations: 139.8 kB / 0.9997 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.1476, allocations: 28.97 kB / 0.9997 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003459/0.1479, allocations: 467.3 kB / 1 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=90): time 1.934e-06/0.1479, allocations: 7.938 kB / 1 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=90): time 0.001168/0.1491, allocations: 0.5811 MB / 1.001 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.1492, allocations: 196.9 kB / 1.001 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.1495, allocations: 0.5016 MB / 1.001 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.1496, allocations: 57.69 kB / 1.001 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1497, allocations: 362.4 kB / 1.002 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1499, allocations: 297.4 kB / 1.002 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.15, allocations: 170.5 kB / 1.002 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1501, allocations: 398.5 kB / 1.003 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1502, allocations: 100.8 kB / 1.003 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.1505, allocations: 319.6 kB / 1.003 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.1508, allocations: 337.2 kB / 1.003 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1508, allocations: 0 / 1.003 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.000629/0.1514, allocations: 475 kB / 1.004 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1514, allocations: 11.98 kB / 1.004 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1514, allocations: 4 kB / 1.004 GB, free: 3.891 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/0.1521, allocations: 116.7 kB / 1.004 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.1525, allocations: 175.7 kB / 1.004 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000965/0.1534, allocations: 1.316 MB / 1.005 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1537, allocations: 79.53 kB / 1.005 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.1537, allocations: 27.97 kB / 1.006 GB, free: 2.09 MB / 0.9636 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.000186/0.1539, allocations: 171.1 kB / 1.006 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.154, allocations: 83.95 kB / 1.006 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/0.1548, allocations: 0.6263 MB / 1.006 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1548, allocations: 12 kB / 1.006 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1548, allocations: 4 kB / 1.006 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1548, allocations: 3.984 kB / 1.006 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.1561, allocations: 1.14 MB / 1.007 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1561, allocations: 8 kB / 1.008 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.1564, allocations: 139.8 kB / 1.008 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002911/0.1566, allocations: 108.7 kB / 1.008 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.1567, allocations: 27.92 kB / 1.008 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007918/0.1575, allocations: 1.329 MB / 1.009 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1575, allocations: 0 / 1.009 GB, free: 14.28 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.1581, allocations: 0.5827 MB / 1.01 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.1583, allocations: 147.2 kB / 1.01 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.1583, allocations: 23.94 kB / 1.01 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.1585, allocations: 46.16 kB / 1.01 GB, free: 13.47 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.1586, allocations: 68.86 kB / 1.01 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.1586, allocations: 23.97 kB / 1.01 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001802/0.1588, allocations: 251.3 kB / 1.01 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1588, allocations: 0 / 1.01 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005337/0.1594, allocations: 355 kB / 1.011 GB, free: 12.79 MB / 0.9792 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.0016/0.161, allocations: 0.7608 MB / 1.011 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005787/0.1615, allocations: 0.5253 MB / 1.012 GB, free: 11.76 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.1615, allocations: 4 kB / 1.012 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.1619, allocations: 379.1 kB / 1.012 GB, free: 11.37 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.1624, allocations: 323.8 kB / 1.012 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.1643, allocations: 1.567 MB / 1.014 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.1644, allocations: 203 kB / 1.014 GB, free: 9.254 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.1648, allocations: 194.9 kB / 1.014 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.1652, allocations: 319 kB / 1.015 GB, free: 8.746 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/0.1652, allocations: 0 / 1.015 GB, free: 8.746 MB / 0.9792 GB Notification: Performance of Templates: time 0.01902/0.1843, allocations: 17.2 MB / 1.031 GB, free: 7.891 MB / 0.9948 GB " [Timeout remaining time 300] 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: 5.8076394642703235]