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.0009097/0.0009097, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009232/0.0009232, allocations: 169 kB / 23.02 MB, free: 1.547 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.8959/0.8959, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 1.985/1.985, allocations: 429.5 MB / 0.6733 GB, free: 4.055 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.814e-06/1.814e-06, allocations: 0 / 0.8781 GB, free: 6.391 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.362e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007195/0.007229, allocations: 4.809 MB / 0.8828 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.1641, allocations: 146.6 MB / 1.026 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.1649, allocations: 23.81 kB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.1654, allocations: 202.1 kB / 1.026 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.1667, allocations: 0.5979 MB / 1.027 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1682, allocations: 0.8919 MB / 1.028 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001192/0.1694, allocations: 1.513 MB / 1.029 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.17, allocations: 406.1 kB / 1.03 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008997/0.1709, allocations: 0.8068 MB / 1.03 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.1713, allocations: 398.8 kB / 1.031 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.1714, allocations: 112 kB / 1.031 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007285/0.1721, allocations: 491.4 kB / 1.031 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1723, allocations: 306.9 kB / 1.032 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.1726, allocations: 387 kB / 1.032 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.1741, allocations: 1.273 MB / 1.033 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1741, allocations: 3.938 kB / 1.033 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1741, allocations: 0 / 1.033 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.1741, allocations: 0 / 1.033 GB, free: 7.055 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.001891/0.176, allocations: 1.547 MB / 1.035 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1761, allocations: 8.031 kB / 1.035 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.1771, allocations: 371.5 kB / 1.035 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/0.1779, allocations: 0.7305 MB / 1.036 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.1779, allocations: 74.11 kB / 1.036 GB, free: 4.262 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-05/0.178, allocations: 99.94 kB / 1.036 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000998/0.179, allocations: 1.001 MB / 1.037 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.179, allocations: 4 kB / 1.037 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.1791, allocations: 43.98 kB / 1.037 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1791, allocations: 24 kB / 1.037 GB, free: 2.984 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008675/0.18, allocations: 0.8114 MB / 1.038 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.1829, allocations: 2.732 MB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.1838, allocations: 0.5475 MB / 1.041 GB, free: 14.8 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.184, allocations: 196.4 kB / 1.041 GB, free: 14.61 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.1841, allocations: 36.91 kB / 1.041 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.1846, allocations: 0.4988 MB / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 2.816e-06/0.1846, allocations: 0 / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.001605/0.1862, allocations: 0.8743 MB / 1.043 GB, free: 13.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.1863, allocations: 196.9 kB / 1.043 GB, free: 12.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.1867, allocations: 0.5776 MB / 1.043 GB, free: 12.32 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.1868, allocations: 49.7 kB / 1.043 GB, free: 12.26 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.1871, allocations: 475.8 kB / 1.044 GB, free: 11.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.1872, allocations: 305.4 kB / 1.044 GB, free: 11.49 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.1874, allocations: 196.2 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1876, allocations: 0.5664 MB / 1.045 GB, free: 10.71 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.1878, allocations: 153.9 kB / 1.045 GB, free: 10.56 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.1882, allocations: 420.8 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.1888, allocations: 438.2 kB / 1.046 GB, free: 9.629 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1888, allocations: 0 / 1.046 GB, free: 9.629 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001286/0.1901, allocations: 0.7191 MB / 1.046 GB, free: 8.898 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1901, allocations: 6.531 kB / 1.046 GB, free: 8.895 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1901, allocations: 4 kB / 1.046 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.1906, allocations: 131.5 kB / 1.047 GB, free: 8.758 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.191, allocations: 191.7 kB / 1.047 GB, free: 8.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.1925, allocations: 1.906 MB / 1.049 GB, free: 6.535 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.1928, allocations: 83.55 kB / 1.049 GB, free: 6.453 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.1929, allocations: 43.98 kB / 1.049 GB, free: 6.41 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002125/0.1931, allocations: 215 kB / 1.049 GB, free: 6.191 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.1932, allocations: 119.4 kB / 1.049 GB, free: 6.074 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.1944, allocations: 0.8616 MB / 1.05 GB, free: 5.191 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1944, allocations: 12 kB / 1.05 GB, free: 5.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1944, allocations: 0 / 1.05 GB, free: 5.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1944, allocations: 7.922 kB / 1.05 GB, free: 5.172 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.1962, allocations: 1.667 MB / 1.052 GB, free: 3.453 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1962, allocations: 7.922 kB / 1.052 GB, free: 3.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.1965, allocations: 151.8 kB / 1.052 GB, free: 3.297 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.1969, allocations: 115.6 kB / 1.052 GB, free: 3.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.1969, allocations: 23.98 kB / 1.052 GB, free: 3.156 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.1981, allocations: 1.926 MB / 1.054 GB, free: 1.102 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1981, allocations: 3.938 kB / 1.054 GB, free: 1.098 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009907/0.1991, allocations: 0.9002 MB / 1.055 GB, free: 176 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3877/0.5868, allocations: 200.2 kB / 1.055 GB, free: 73.86 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.5871, allocations: 25.09 kB / 1.055 GB, free: 73.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.5874, allocations: 37.58 kB / 1.055 GB, free: 73.86 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.5875, allocations: 75.86 kB / 1.055 GB, free: 73.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.5876, allocations: 33.58 kB / 1.055 GB, free: 73.86 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002932/0.5879, allocations: 387.8 kB / 1.055 GB, free: 73.72 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5879, allocations: 1.188 kB / 1.055 GB, free: 73.72 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000639/0.5885, allocations: 348.5 kB / 1.056 GB, free: 73.72 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.001098/0.5896, allocations: 0.6143 MB / 1.056 GB, free: 73.59 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008972/0.5905, allocations: 0.7012 MB / 1.057 GB, free: 73.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5905, allocations: 4.031 kB / 1.057 GB, free: 73.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.5909, allocations: 489.5 kB / 1.057 GB, free: 73.22 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.5916, allocations: 346.5 kB / 1.058 GB, free: 73.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.5935, allocations: 1.56 MB / 1.059 GB, free: 72.51 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.817e-05/0.5936, allocations: 198.4 kB / 1.059 GB, free: 72.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000419/0.5941, allocations: 261.7 kB / 1.06 GB, free: 72.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.5942, allocations: 123.1 kB / 1.06 GB, free: 72.41 MB / 1.01 GB Notification: Performance of SimCode: time 8.92e-07/0.5942, allocations: 0.6562 kB / 1.06 GB, free: 72.41 MB / 1.01 GB Notification: Performance of Templates: time 0.01699/0.6112, allocations: 17.28 MB / 1.077 GB, free: 70.79 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.105257515795529]