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.0009544/0.0009544, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000924/0.000924, allocations: 169 kB / 23.27 MB, free: 1.223 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.9441/0.9441, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.376/2.376, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.523e-06/1.523e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.398e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004891/0.004905, allocations: 4.913 MB / 0.8945 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.1347, allocations: 143.9 MB / 1.035 GB, free: 4.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008382/0.1356, allocations: 23.81 kB / 1.035 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.1361, allocations: 202.1 kB / 1.035 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.1375, allocations: 0.5939 MB / 1.036 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.139, allocations: 0.888 MB / 1.037 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009884/0.14, allocations: 1.529 MB / 1.038 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.1406, allocations: 448.5 kB / 1.039 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006953/0.1413, allocations: 0.8381 MB / 1.039 GB, free: 15.86 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.1416, allocations: 417.1 kB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1417, allocations: 124 kB / 1.04 GB, free: 15.34 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006471/0.1424, allocations: 491.4 kB / 1.04 GB, free: 14.86 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.1426, allocations: 330.8 kB / 1.041 GB, free: 14.53 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.1428, allocations: 410.9 kB / 1.041 GB, free: 14.13 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.1443, allocations: 1.308 MB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1443, allocations: 4 kB / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1443, allocations: 0 / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.1444, allocations: 0 / 1.042 GB, free: 12.81 MB / 1.01 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.001477/0.1458, allocations: 1.592 MB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1459, allocations: 12.62 kB / 1.044 GB, free: 11.16 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009336/0.1468, allocations: 383.4 kB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.1475, allocations: 0.7336 MB / 1.045 GB, free: 10.02 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.1475, allocations: 78.12 kB / 1.045 GB, free: 9.949 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.1476, allocations: 108 kB / 1.045 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.1484, allocations: 0.94 MB / 1.046 GB, free: 8.809 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1484, allocations: 0 / 1.046 GB, free: 8.809 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.1484, allocations: 44 kB / 1.046 GB, free: 8.766 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1484, allocations: 20 kB / 1.046 GB, free: 8.746 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.1491, allocations: 0.7079 MB / 1.047 GB, free: 8.039 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.1514, allocations: 2.217 MB / 1.049 GB, free: 5.773 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.1522, allocations: 0.5168 MB / 1.05 GB, free: 5.242 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1524, allocations: 161.3 kB / 1.05 GB, free: 5.082 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.1524, allocations: 56.72 kB / 1.05 GB, free: 5.027 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.1528, allocations: 482.7 kB / 1.05 GB, free: 4.508 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.124e-06/0.1528, allocations: 0 / 1.05 GB, free: 4.508 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.00129/0.1541, allocations: 0.7923 MB / 1.051 GB, free: 3.707 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.1542, allocations: 200.9 kB / 1.051 GB, free: 3.469 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.1546, allocations: 0.55 MB / 1.052 GB, free: 2.906 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.1546, allocations: 49.7 kB / 1.052 GB, free: 2.852 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.1549, allocations: 487.8 kB / 1.052 GB, free: 2.367 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.1551, allocations: 309.4 kB / 1.053 GB, free: 2.062 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.1552, allocations: 192.1 kB / 1.053 GB, free: 1.867 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1554, allocations: 0.5701 MB / 1.053 GB, free: 1.285 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.1556, allocations: 113.9 kB / 1.053 GB, free: 1.172 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.1558, allocations: 365.6 kB / 1.054 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1562, allocations: 351 kB / 1.054 GB, free: 412 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1562, allocations: 0 / 1.054 GB, free: 412 kB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.4478/0.604, allocations: 0.6285 MB / 1.055 GB, free: 65.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.6041, allocations: 5.844 kB / 1.055 GB, free: 65.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6041, allocations: 4.531 kB / 1.055 GB, free: 65.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/0.6046, allocations: 125.7 kB / 1.055 GB, free: 65.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.6051, allocations: 183.6 kB / 1.055 GB, free: 65.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.6063, allocations: 1.872 MB / 1.057 GB, free: 63.48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.6067, allocations: 78.38 kB / 1.057 GB, free: 63.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.6068, allocations: 33.28 kB / 1.057 GB, free: 63.48 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.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.0002945/0.6071, allocations: 225.8 kB / 1.057 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.6072, allocations: 112.2 kB / 1.057 GB, free: 63.31 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.6084, allocations: 0.8013 MB / 1.058 GB, free: 63.24 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6084, allocations: 11.84 kB / 1.058 GB, free: 63.24 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6084, allocations: 3.312 kB / 1.058 GB, free: 63.24 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.6084, allocations: 12.14 kB / 1.058 GB, free: 63.24 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.6101, allocations: 1.505 MB / 1.06 GB, free: 62.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6101, allocations: 3.844 kB / 1.06 GB, free: 62.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.6105, allocations: 144.1 kB / 1.06 GB, free: 62.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003673/0.6109, allocations: 119.2 kB / 1.06 GB, free: 62.86 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.6109, allocations: 24.98 kB / 1.06 GB, free: 62.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008434/0.6117, allocations: 1.888 MB / 1.062 GB, free: 61.14 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6117, allocations: 0.9062 kB / 1.062 GB, free: 61.14 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.6126, allocations: 0.8358 MB / 1.062 GB, free: 60.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.6129, allocations: 193 kB / 1.063 GB, free: 60.86 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.6129, allocations: 28.09 kB / 1.063 GB, free: 60.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.6132, allocations: 41.25 kB / 1.063 GB, free: 60.85 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.6133, allocations: 75.91 kB / 1.063 GB, free: 60.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.6134, allocations: 30.67 kB / 1.063 GB, free: 60.85 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002138/0.6136, allocations: 367 kB / 1.063 GB, free: 60.71 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6136, allocations: 0.9062 kB / 1.063 GB, free: 60.71 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007166/0.6143, allocations: 355.1 kB / 1.064 GB, free: 60.69 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.001241/0.6156, allocations: 0.626 MB / 1.064 GB, free: 60.58 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007151/0.6163, allocations: 0.6333 MB / 1.065 GB, free: 60.37 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6163, allocations: 0.7656 kB / 1.065 GB, free: 60.37 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.6167, allocations: 459.4 kB / 1.065 GB, free: 60.18 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/0.6175, allocations: 325.1 kB / 1.065 GB, free: 60.15 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.6195, allocations: 1.584 MB / 1.067 GB, free: 59.42 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.6196, allocations: 203.4 kB / 1.067 GB, free: 59.33 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00046/0.6201, allocations: 201.5 kB / 1.067 GB, free: 59.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.6207, allocations: 365.7 kB / 1.068 GB, free: 59.22 MB / 1.01 GB Notification: Performance of SimCode: time 5.81e-07/0.6207, allocations: 3.469 kB / 1.068 GB, free: 59.22 MB / 1.01 GB Notification: Performance of Templates: time 0.02252/0.6432, allocations: 17.17 MB / 1.085 GB, free: 57.7 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.4953125743195415]