Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.001439/0.001439, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001682/0.001682, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9696/0.9696, allocations: 177.1 MB / 204.5 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.072/2.072, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 1.094 kB / 0.8793 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.241e-05, allocations: 2.969 kB / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00758/0.007613, allocations: 4.72 MB / 0.884 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1581/0.1657, allocations: 143.9 MB / 1.024 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008633/0.1666, allocations: 23.81 kB / 1.024 GB, free: 0.918 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.1672, allocations: 202.1 kB / 1.025 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.1686, allocations: 0.59 MB / 1.025 GB, free: 128 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1701, allocations: 0.9075 MB / 1.026 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1714, allocations: 1.509 MB / 1.028 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.1719, allocations: 402.6 kB / 1.028 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.1728, allocations: 0.8029 MB / 1.029 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.1732, allocations: 402.8 kB / 1.029 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1733, allocations: 116 kB / 1.029 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.1739, allocations: 491.4 kB / 1.03 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1741, allocations: 302.9 kB / 1.03 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.1744, allocations: 391 kB / 1.03 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1755, allocations: 1.269 MB / 1.032 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1755, allocations: 3.938 kB / 1.032 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1755, allocations: 0 / 1.032 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1755, allocations: 0 / 1.032 GB, free: 9.535 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001499/0.177, allocations: 1.562 MB / 1.033 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1771, allocations: 8.031 kB / 1.033 GB, free: 7.918 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.178, allocations: 367.5 kB / 1.034 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.1787, allocations: 0.7266 MB / 1.034 GB, free: 6.809 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.1787, allocations: 70.12 kB / 1.034 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.571e-05/0.1788, allocations: 95.98 kB / 1.034 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000794/0.1796, allocations: 0.9428 MB / 1.035 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1796, allocations: 7.938 kB / 1.035 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.1797, allocations: 40 kB / 1.035 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1797, allocations: 20 kB / 1.035 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.1804, allocations: 0.7001 MB / 1.036 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.1827, allocations: 2.611 MB / 1.039 GB, free: 2.145 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.1834, allocations: 0.5004 MB / 1.039 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.1835, allocations: 154.6 kB / 1.039 GB, free: 1.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.624e-05/0.1836, allocations: 40.91 kB / 1.039 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.184, allocations: 474.8 kB / 1.04 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=91): time 1.974e-06/0.184, allocations: 0 / 1.04 GB, free: 0.9258 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91): time 0.001326/0.1853, allocations: 0.7923 MB / 1.041 GB, free: 132 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.1854, allocations: 204.8 kB / 1.041 GB, free: 15.88 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.1859, allocations: 0.5656 MB / 1.041 GB, free: 15.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.1859, allocations: 49.7 kB / 1.041 GB, free: 15.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.1861, allocations: 475.8 kB / 1.042 GB, free: 14.77 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.1863, allocations: 309.3 kB / 1.042 GB, free: 14.47 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.1865, allocations: 200.1 kB / 1.042 GB, free: 14.27 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002747/0.1868, allocations: 0.574 MB / 1.043 GB, free: 13.68 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1869, allocations: 117.9 kB / 1.043 GB, free: 13.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1872, allocations: 380.8 kB / 1.043 GB, free: 13.13 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.1876, allocations: 386 kB / 1.044 GB, free: 12.72 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1876, allocations: 8 kB / 1.044 GB, free: 12.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0008401/0.1884, allocations: 0.6371 MB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1885, allocations: 12.19 kB / 1.044 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1885, allocations: 3.938 kB / 1.044 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.1889, allocations: 123.6 kB / 1.044 GB, free: 11.92 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.1893, allocations: 191.7 kB / 1.045 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.1907, allocations: 1.883 MB / 1.046 GB, free: 9.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.191, allocations: 83.67 kB / 1.047 GB, free: 9.648 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.1911, allocations: 31.97 kB / 1.047 GB, free: 9.617 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (113): * Single equations (assignments): 112 * 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.0002042/0.1913, allocations: 223 kB / 1.047 GB, free: 9.387 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.1914, allocations: 123.4 kB / 1.047 GB, free: 9.266 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1924, allocations: 0.7991 MB / 1.048 GB, free: 8.449 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1924, allocations: 8 kB / 1.048 GB, free: 8.441 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1924, allocations: 0 / 1.048 GB, free: 8.441 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1924, allocations: 11.92 kB / 1.048 GB, free: 8.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.1941, allocations: 1.499 MB / 1.049 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1941, allocations: 0 / 1.049 GB, free: 6.887 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.1944, allocations: 151.8 kB / 1.049 GB, free: 6.738 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/0.1947, allocations: 119.5 kB / 1.049 GB, free: 6.617 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.1948, allocations: 27.98 kB / 1.049 GB, free: 6.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.1958, allocations: 1.884 MB / 1.051 GB, free: 4.586 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1958, allocations: 4 kB / 1.051 GB, free: 4.582 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008511/0.1967, allocations: 0.8453 MB / 1.052 GB, free: 3.711 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.1969, allocations: 187.1 kB / 1.052 GB, free: 3.527 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.197, allocations: 20 kB / 1.052 GB, free: 3.508 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.1972, allocations: 47.48 kB / 1.052 GB, free: 3.465 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.1973, allocations: 76.78 kB / 1.052 GB, free: 3.391 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.1973, allocations: 27.98 kB / 1.052 GB, free: 3.363 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000229/0.1976, allocations: 362.9 kB / 1.053 GB, free: 3.012 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.1976, allocations: 4 kB / 1.053 GB, free: 3.008 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007252/0.1983, allocations: 355.1 kB / 1.053 GB, free: 2.66 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 (102): * Single equations (assignments): 91 * 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.001398/0.1997, allocations: 0.6339 MB / 1.054 GB, free: 2.199 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006902/0.2004, allocations: 0.6329 MB / 1.054 GB, free: 1.543 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2004, allocations: 4.125 kB / 1.054 GB, free: 1.539 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.2008, allocations: 465 kB / 1.055 GB, free: 1.062 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.2015, allocations: 325.2 kB / 1.055 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.403/0.6045, allocations: 1.536 MB / 1.057 GB, free: 75.32 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.6046, allocations: 199.5 kB / 1.057 GB, free: 75.24 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006089/0.6052, allocations: 189.8 kB / 1.057 GB, free: 75.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.6057, allocations: 383.2 kB / 1.057 GB, free: 75.17 MB / 1.01 GB Notification: Performance of SimCode: time 1.483e-06/0.6057, allocations: 0 / 1.057 GB, free: 75.17 MB / 1.01 GB Notification: Performance of Templates: time 0.01958/0.6253, allocations: 17.9 MB / 1.075 GB, free: 73.74 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.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.568770044017583]