Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001405/0.001405, allocations: 81.17 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.001061/0.001061, 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.8875/0.8875, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.351/2.351, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.734e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007657/0.007675, allocations: 5.673 MB / 0.8952 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1371/0.1448, allocations: 144.1 MB / 1.036 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.1456, allocations: 27.75 kB / 1.036 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.1462, allocations: 245.6 kB / 1.036 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.1477, allocations: 0.6714 MB / 1.037 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1495, allocations: 0.9075 MB / 1.038 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.151, allocations: 1.751 MB / 1.039 GB, free: 15.85 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007716/0.1517, allocations: 0.5776 MB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.1528, allocations: 0.9901 MB / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.1534, allocations: 494.5 kB / 1.041 GB, free: 13.76 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.1536, allocations: 152 kB / 1.042 GB, free: 13.61 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.1543, allocations: 0.5188 MB / 1.042 GB, free: 13.09 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.1546, allocations: 374.7 kB / 1.042 GB, free: 12.72 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.155, allocations: 0.4948 MB / 1.043 GB, free: 12.23 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.1564, allocations: 1.491 MB / 1.044 GB, free: 10.73 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1565, allocations: 0 / 1.044 GB, free: 10.73 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1565, allocations: 0 / 1.044 GB, free: 10.73 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.1565, allocations: 0 / 1.044 GB, free: 10.73 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.001986/0.1585, allocations: 1.821 MB / 1.046 GB, free: 8.871 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1585, allocations: 8.625 kB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.1596, allocations: 399.3 kB / 1.047 GB, free: 8.473 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.1605, allocations: 0.8044 MB / 1.047 GB, free: 7.633 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.1606, allocations: 102.5 kB / 1.047 GB, free: 7.531 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.1607, allocations: 124 kB / 1.048 GB, free: 7.41 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1619, allocations: 1.08 MB / 1.049 GB, free: 6.211 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.162, allocations: 0 / 1.049 GB, free: 6.211 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.162, allocations: 52 kB / 1.049 GB, free: 6.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.1621, allocations: 28 kB / 1.049 GB, free: 6.133 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009389/0.163, allocations: 0.7453 MB / 1.049 GB, free: 5.375 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.1655, allocations: 2.709 MB / 1.052 GB, free: 2.613 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.1661, allocations: 489.5 kB / 1.053 GB, free: 2.125 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.1662, allocations: 158.7 kB / 1.053 GB, free: 1.965 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.1663, allocations: 60.7 kB / 1.053 GB, free: 1.906 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.1667, allocations: 494.8 kB / 1.053 GB, free: 1.375 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.044e-06/0.1667, allocations: 0 / 1.053 GB, free: 1.375 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.001192/0.1679, allocations: 0.8117 MB / 1.054 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.1679, allocations: 200.9 kB / 1.054 GB, free: 324 kB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4159/0.5838, allocations: 0.618 MB / 1.055 GB, free: 65.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.584, allocations: 54.69 kB / 1.055 GB, free: 65.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.5843, allocations: 0.5777 MB / 1.055 GB, free: 65.67 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.5845, allocations: 320.7 kB / 1.056 GB, free: 65.51 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.5847, allocations: 206.9 kB / 1.056 GB, free: 65.48 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5848, allocations: 0.5762 MB / 1.057 GB, free: 64.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.585, allocations: 119.5 kB / 1.057 GB, free: 64.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.5852, allocations: 369.5 kB / 1.057 GB, free: 64.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.5856, allocations: 367.9 kB / 1.057 GB, free: 64.71 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5856, allocations: 2.719 kB / 1.057 GB, free: 64.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0009216/0.5865, allocations: 0.6642 MB / 1.058 GB, free: 64.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5865, allocations: 6.219 kB / 1.058 GB, free: 64.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5866, allocations: 2.312 kB / 1.058 GB, free: 64.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.587, allocations: 128.2 kB / 1.058 GB, free: 64.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.5874, allocations: 195 kB / 1.058 GB, free: 64.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.5884, allocations: 1.876 MB / 1.06 GB, free: 62.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.5887, allocations: 83.81 kB / 1.06 GB, free: 62.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/0.5887, allocations: 38.62 kB / 1.06 GB, free: 62.84 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 (117): * Single equations (assignments): 116 * 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.0002414/0.589, allocations: 219.5 kB / 1.06 GB, free: 62.67 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.5891, allocations: 128.4 kB / 1.061 GB, free: 62.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009036/0.59, allocations: 0.8228 MB / 1.061 GB, free: 62.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.59, allocations: 8.688 kB / 1.061 GB, free: 62.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.59, allocations: 0.7812 kB / 1.061 GB, free: 62.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.59, allocations: 6.172 kB / 1.061 GB, free: 62.52 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.5915, allocations: 1.574 MB / 1.063 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5915, allocations: 0 / 1.063 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.5918, allocations: 162.8 kB / 1.063 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.5921, allocations: 111.8 kB / 1.063 GB, free: 62.12 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.5921, allocations: 23.78 kB / 1.063 GB, free: 62.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007033/0.5928, allocations: 1.9 MB / 1.065 GB, free: 60.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5928, allocations: 2.656 kB / 1.065 GB, free: 60.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.5936, allocations: 0.8489 MB / 1.066 GB, free: 60.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.5938, allocations: 205.4 kB / 1.066 GB, free: 60.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.5939, allocations: 22.97 kB / 1.066 GB, free: 60.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.5941, allocations: 40.84 kB / 1.066 GB, free: 60.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.5942, allocations: 74.48 kB / 1.066 GB, free: 60.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.5942, allocations: 34.81 kB / 1.066 GB, free: 60.05 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001838/0.5944, allocations: 394.9 kB / 1.067 GB, free: 59.91 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5944, allocations: 0 / 1.067 GB, free: 59.91 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006648/0.595, allocations: 412.7 kB / 1.067 GB, free: 59.87 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 (105): * Single equations (assignments): 94 * 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.001062/0.5961, allocations: 0.636 MB / 1.068 GB, free: 59.76 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.5967, allocations: 0.6533 MB / 1.068 GB, free: 59.55 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5967, allocations: 0 / 1.068 GB, free: 59.55 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.597, allocations: 465.2 kB / 1.069 GB, free: 59.36 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.5977, allocations: 331.9 kB / 1.069 GB, free: 59.34 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.5997, allocations: 1.836 MB / 1.071 GB, free: 58.48 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.5998, allocations: 227.4 kB / 1.071 GB, free: 58.39 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003755/0.6002, allocations: 197.7 kB / 1.071 GB, free: 58.36 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.6007, allocations: 379.7 kB / 1.072 GB, free: 58.29 MB / 1.01 GB Notification: Performance of SimCode: time 6.11e-07/0.6007, allocations: 1 kB / 1.072 GB, free: 58.29 MB / 1.01 GB Notification: Performance of Templates: time 0.01992/0.6206, allocations: 17.59 MB / 1.089 GB, free: 56.69 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.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.273702193982899]