Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009178/0.0009178, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001007/0.001007, allocations: 173 kB / 24.28 MB, free: 276 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.9508/0.9508, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.78/1.78, allocations: 377.8 MB / 0.6239 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.8115 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.541e-05, allocations: 6.266 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004775/0.00479, allocations: 4.776 MB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.121/0.1258, allocations: 146.3 MB / 0.959 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.1264, allocations: 27.75 kB / 0.9591 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.1269, allocations: 198.2 kB / 0.9593 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1283, allocations: 0.5823 MB / 0.9598 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.1296, allocations: 0.8919 MB / 0.9607 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009306/0.1305, allocations: 1.509 MB / 0.9622 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004827/0.131, allocations: 413.9 kB / 0.9626 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.1316, allocations: 0.7757 MB / 0.9633 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.132, allocations: 426.8 kB / 0.9637 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1321, allocations: 124 kB / 0.9639 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005415/0.1326, allocations: 0.4916 MB / 0.9643 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1328, allocations: 322.9 kB / 0.9646 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.1331, allocations: 406.9 kB / 0.965 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.1341, allocations: 1.292 MB / 0.9663 GB, free: 3.043 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1341, allocations: 4 kB / 0.9663 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1341, allocations: 0 / 0.9663 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1341, allocations: 3.938 kB / 0.9663 GB, free: 3.035 MB / 0.9167 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.001672/0.1358, allocations: 1.562 MB / 0.9678 GB, free: 1.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1358, allocations: 8.031 kB / 0.9678 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.1368, allocations: 367.5 kB / 0.9682 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007431/0.1376, allocations: 0.7364 MB / 0.9689 GB, free: 308 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.1376, allocations: 74.12 kB / 0.969 GB, free: 236 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.1377, allocations: 104 kB / 0.9691 GB, free: 132 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009721/0.1387, allocations: 1.075 MB / 0.9701 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1387, allocations: 0 / 0.9701 GB, free: 14.92 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.1388, allocations: 43.98 kB / 0.9702 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.1388, allocations: 24 kB / 0.9702 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.1396, allocations: 0.8231 MB / 0.971 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.1422, allocations: 2.794 MB / 0.9737 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008217/0.1431, allocations: 0.5495 MB / 0.9743 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.1433, allocations: 190.6 kB / 0.9744 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.1434, allocations: 32.91 kB / 0.9745 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.1439, allocations: 0.5067 MB / 0.975 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=91): time 2.094e-06/0.1439, allocations: 0 / 0.975 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91): time 0.001563/0.1454, allocations: 0.8743 MB / 0.9758 GB, free: 8.945 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.1455, allocations: 200.9 kB / 0.976 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.146, allocations: 0.5894 MB / 0.9766 GB, free: 8.102 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.146, allocations: 49.7 kB / 0.9766 GB, free: 8.047 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.1462, allocations: 471.9 kB / 0.9771 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.1464, allocations: 301.5 kB / 0.9774 GB, free: 7.281 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.1466, allocations: 200.2 kB / 0.9776 GB, free: 7.074 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1467, allocations: 0.5625 MB / 0.9781 GB, free: 6.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.147, allocations: 153.9 kB / 0.9783 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.1473, allocations: 420.8 kB / 0.9787 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.1479, allocations: 446.1 kB / 0.9791 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1479, allocations: 0 / 0.9791 GB, free: 5.414 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001024/0.1489, allocations: 0.723 MB / 0.9798 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1489, allocations: 8 kB / 0.9798 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1489, allocations: 0 / 0.9798 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.1494, allocations: 131.7 kB / 0.9799 GB, free: 4.539 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.1498, allocations: 191.7 kB / 0.9801 GB, free: 4.352 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.1512, allocations: 1.894 MB / 0.982 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.1515, allocations: 88.59 kB / 0.982 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.1515, allocations: 40.03 kB / 0.9821 GB, free: 2.199 MB / 0.9323 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.0002073/0.1517, allocations: 227 kB / 0.9823 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1519, allocations: 123.4 kB / 0.9824 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.1531, allocations: 0.8735 MB / 0.9833 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1531, allocations: 12 kB / 0.9833 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1531, allocations: 0 / 0.9833 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1531, allocations: 3.984 kB / 0.9833 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.155, allocations: 1.702 MB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.155, allocations: 0 / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.1553, allocations: 155.8 kB / 0.9851 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.1556, allocations: 111.6 kB / 0.9852 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.1557, allocations: 23.98 kB / 0.9852 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1568, allocations: 1.93 MB / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1568, allocations: 0 / 0.9871 GB, free: 12.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1579, allocations: 0.9039 MB / 0.988 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.1582, allocations: 211 kB / 0.9882 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.1583, allocations: 24.03 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.1585, allocations: 47.95 kB / 0.9883 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.1586, allocations: 80.98 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.1587, allocations: 35.98 kB / 0.9884 GB, free: 11.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002975/0.159, allocations: 399 kB / 0.9887 GB, free: 11.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 0.9887 GB, free: 11.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005982/0.1596, allocations: 343.1 kB / 0.9891 GB, free: 10.79 MB / 0.948 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 (103): * Single equations (assignments): 92 * 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.001172/0.1607, allocations: 0.6367 MB / 0.9897 GB, free: 10.33 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009088/0.1617, allocations: 0.7069 MB / 0.9904 GB, free: 9.598 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1617, allocations: 0 / 0.9904 GB, free: 9.598 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.1621, allocations: 0.4935 MB / 0.9909 GB, free: 9.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.1628, allocations: 336.5 kB / 0.9912 GB, free: 8.777 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.165, allocations: 1.584 MB / 0.9927 GB, free: 7.156 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.1651, allocations: 199.2 kB / 0.9929 GB, free: 6.941 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004547/0.1656, allocations: 259.1 kB / 0.9932 GB, free: 6.684 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.1658, allocations: 120.4 kB / 0.9933 GB, free: 6.566 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.1658, allocations: 0 / 0.9933 GB, free: 6.566 MB / 0.948 GB Notification: Performance of Templates: time 0.01811/0.1839, allocations: 16.55 MB / 1.009 GB, free: 6.312 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.617864024825394]