Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.000943/0.000943, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009145/0.0009145, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9534/0.9534, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.324/2.324, allocations: 438.1 MB / 0.682 GB, free: 14.17 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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.64e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005566/0.005593, allocations: 4.949 MB / 0.8946 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.1404, allocations: 143.9 MB / 1.035 GB, free: 4.328 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.1412, allocations: 23.81 kB / 1.035 GB, free: 4.305 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006096/0.1419, allocations: 206 kB / 1.035 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001561/0.1434, allocations: 0.6134 MB / 1.036 GB, free: 3.484 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.1451, allocations: 0.892 MB / 1.037 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.147, allocations: 1.541 MB / 1.038 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008704/0.1478, allocations: 456.6 kB / 1.039 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.1494, allocations: 0.8458 MB / 1.04 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.15, allocations: 418.7 kB / 1.04 GB, free: 15.32 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.1504, allocations: 124 kB / 1.04 GB, free: 15.2 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.1515, allocations: 0.5033 MB / 1.041 GB, free: 14.69 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.1517, allocations: 318.9 kB / 1.041 GB, free: 14.38 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.1521, allocations: 410.9 kB / 1.041 GB, free: 13.98 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.1537, allocations: 1.343 MB / 1.043 GB, free: 12.63 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1537, allocations: 4 kB / 1.043 GB, free: 12.62 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1537, allocations: 0 / 1.043 GB, free: 12.62 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.1538, allocations: 0 / 1.043 GB, free: 12.62 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001857/0.1556, allocations: 1.596 MB / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1556, allocations: 12.62 kB / 1.044 GB, free: 10.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002799/0.1584, allocations: 1.03 MB / 1.045 GB, free: 9.941 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.1593, allocations: 0.7578 MB / 1.046 GB, free: 9.156 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.1593, allocations: 82.11 kB / 1.046 GB, free: 9.074 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.855e-05/0.1594, allocations: 104 kB / 1.046 GB, free: 8.973 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.161, allocations: 1.283 MB / 1.047 GB, free: 7.594 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.161, allocations: 0 / 1.047 GB, free: 7.594 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.161, allocations: 47.98 kB / 1.047 GB, free: 7.547 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1611, allocations: 24 kB / 1.047 GB, free: 7.523 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.162, allocations: 1.009 MB / 1.048 GB, free: 6.512 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003869/0.1658, allocations: 4.159 MB / 1.052 GB, free: 1.68 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1669, allocations: 0.7863 MB / 1.053 GB, free: 0.8789 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.1674, allocations: 345.3 kB / 1.054 GB, free: 0.543 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.1675, allocations: 52.77 kB / 1.054 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5196/0.687, allocations: 0.6675 MB / 1.054 GB, free: 65.91 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 3.767e-06/0.687, allocations: 0 / 1.054 GB, free: 65.91 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.002023/0.6891, allocations: 1.189 MB / 1.055 GB, free: 65.85 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.6891, allocations: 201.8 kB / 1.056 GB, free: 65.63 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.6896, allocations: 0.5634 MB / 1.056 GB, free: 65.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.6896, allocations: 51.67 kB / 1.056 GB, free: 65.42 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.6899, allocations: 489 kB / 1.057 GB, free: 65.26 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.69, allocations: 304.1 kB / 1.057 GB, free: 65.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.6902, allocations: 204.2 kB / 1.057 GB, free: 65.07 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6903, allocations: 0.5683 MB / 1.058 GB, free: 64.58 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.6906, allocations: 273.5 kB / 1.058 GB, free: 64.58 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.691, allocations: 0.5075 MB / 1.058 GB, free: 64.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.6915, allocations: 0.4972 MB / 1.059 GB, free: 64.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6915, allocations: 0.5 kB / 1.059 GB, free: 64.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001073/0.6926, allocations: 0.8692 MB / 1.06 GB, free: 64.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.6926, allocations: 5.875 kB / 1.06 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6926, allocations: 0.9375 kB / 1.06 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.693, allocations: 134 kB / 1.06 GB, free: 64.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.6937, allocations: 295.5 kB / 1.06 GB, free: 64.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.6949, allocations: 1.865 MB / 1.062 GB, free: 62.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.6955, allocations: 189.7 kB / 1.062 GB, free: 62.42 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.6955, allocations: 34.28 kB / 1.062 GB, free: 62.42 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.0002655/0.6958, allocations: 223.1 kB / 1.062 GB, free: 62.25 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6959, allocations: 115.6 kB / 1.063 GB, free: 62.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.6973, allocations: 1.096 MB / 1.064 GB, free: 62.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.6973, allocations: 15.75 kB / 1.064 GB, free: 62.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.6973, allocations: 0 / 1.064 GB, free: 62.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.6973, allocations: 4.688 kB / 1.064 GB, free: 62.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.6997, allocations: 2.57 MB / 1.066 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.6997, allocations: 2.844 kB / 1.066 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.7003, allocations: 260.2 kB / 1.066 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003389/0.7006, allocations: 118.4 kB / 1.067 GB, free: 60.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.7007, allocations: 28.11 kB / 1.067 GB, free: 60.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009557/0.7016, allocations: 1.882 MB / 1.068 GB, free: 58.96 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7016, allocations: 3.938 kB / 1.068 GB, free: 58.96 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.7028, allocations: 1.077 MB / 1.069 GB, free: 58.69 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.703, allocations: 221.8 kB / 1.07 GB, free: 58.64 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.7031, allocations: 30.31 kB / 1.07 GB, free: 58.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005009/0.7036, allocations: 142.1 kB / 1.07 GB, free: 58.64 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.7037, allocations: 77.77 kB / 1.07 GB, free: 58.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.7038, allocations: 34.56 kB / 1.07 GB, free: 58.64 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002098/0.704, allocations: 362.7 kB / 1.07 GB, free: 58.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.704, allocations: 1.031 kB / 1.07 GB, free: 58.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008218/0.7048, allocations: 390.2 kB / 1.071 GB, free: 58.47 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 (100): * Single equations (assignments): 89 * 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.001382/0.7062, allocations: 0.625 MB / 1.071 GB, free: 58.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.7072, allocations: 0.966 MB / 1.072 GB, free: 58.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7072, allocations: 0.9062 kB / 1.072 GB, free: 58.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.7077, allocations: 0.6287 MB / 1.073 GB, free: 57.95 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.7085, allocations: 340.4 kB / 1.073 GB, free: 57.93 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.7109, allocations: 1.745 MB / 1.075 GB, free: 57.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.711, allocations: 203.7 kB / 1.075 GB, free: 57.11 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.7117, allocations: 235.2 kB / 1.075 GB, free: 57.08 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/0.7124, allocations: 380 kB / 1.076 GB, free: 57.01 MB / 1.01 GB Notification: Performance of SimCode: time 1.243e-06/0.7124, allocations: 0.9375 kB / 1.076 GB, free: 57.01 MB / 1.01 GB Notification: Performance of Templates: time 0.03394/0.7464, allocations: 19.66 MB / 1.095 GB, free: 55.16 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.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.472600994165987]