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.0009259/0.0009259, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009343/0.0009343, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.8924/0.8924, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.818/1.818, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.503e-06/1.503e-06, allocations: 0 / 0.8127 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.538e-05, allocations: 3.312 kB / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006847/0.006872, allocations: 4.712 MB / 0.8173 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1615/0.1684, allocations: 143.9 MB / 0.9578 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006488/0.1691, allocations: 23.81 kB / 0.9579 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.1695, allocations: 206.1 kB / 0.958 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.1709, allocations: 0.6017 MB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1724, allocations: 0.8881 MB / 0.9595 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1735, allocations: 1.505 MB / 0.961 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005426/0.1741, allocations: 414 kB / 0.9614 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009914/0.1751, allocations: 0.8069 MB / 0.9622 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.1756, allocations: 390.8 kB / 0.9625 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.1757, allocations: 116 kB / 0.9626 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.1768, allocations: 495.3 kB / 0.9631 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.177, allocations: 310.9 kB / 0.9634 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.1774, allocations: 387 kB / 0.9638 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.1791, allocations: 1.269 MB / 0.965 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1791, allocations: 0 / 0.965 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1791, allocations: 0 / 0.965 GB, free: 4.996 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1791, allocations: 4 kB / 0.965 GB, free: 4.992 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.002175/0.1812, allocations: 1.562 MB / 0.9665 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1813, allocations: 8.031 kB / 0.9666 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.1828, allocations: 375.5 kB / 0.9669 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1839, allocations: 0.715 MB / 0.9676 GB, free: 2.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.784e-05/0.184, allocations: 74.12 kB / 0.9677 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.1841, allocations: 104 kB / 0.9678 GB, free: 2.094 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.1854, allocations: 0.9466 MB / 0.9687 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1854, allocations: 0 / 0.9687 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/0.1855, allocations: 36 kB / 0.9687 GB, free: 1.004 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.1855, allocations: 24 kB / 0.9688 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/0.1865, allocations: 0.7 MB / 0.9694 GB, free: 284 kB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.1901, allocations: 2.623 MB / 0.972 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/0.1911, allocations: 0.5005 MB / 0.9725 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.1913, allocations: 158.6 kB / 0.9726 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.26e-05/0.1914, allocations: 36.91 kB / 0.9727 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/0.192, allocations: 482.8 kB / 0.9731 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=91): time 3.156e-06/0.192, allocations: 0 / 0.9731 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91): time 0.001823/0.1938, allocations: 0.7806 MB / 0.9739 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1939, allocations: 204.8 kB / 0.9741 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.1947, allocations: 0.5695 MB / 0.9747 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.1948, allocations: 49.7 kB / 0.9747 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.1952, allocations: 479.8 kB / 0.9752 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.1955, allocations: 301.4 kB / 0.9754 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.1958, allocations: 204.1 kB / 0.9756 GB, free: 9.703 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002667/0.1961, allocations: 0.5701 MB / 0.9762 GB, free: 9.121 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.1963, allocations: 113.9 kB / 0.9763 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.1967, allocations: 392.8 kB / 0.9767 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.1973, allocations: 390 kB / 0.9771 GB, free: 8.156 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1973, allocations: 0 / 0.9771 GB, free: 8.156 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001434/0.1988, allocations: 0.649 MB / 0.9777 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1988, allocations: 8 kB / 0.9777 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1988, allocations: 0 / 0.9777 GB, free: 7.488 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.1994, allocations: 123.6 kB / 0.9778 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.1998, allocations: 191.7 kB / 0.978 GB, free: 7.176 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.2016, allocations: 1.877 MB / 0.9798 GB, free: 5.176 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.2022, allocations: 83.48 kB / 0.9799 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.706e-05/0.2023, allocations: 35.97 kB / 0.9799 GB, free: 5.059 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.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.0004091/0.2027, allocations: 223 kB / 0.9802 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.2029, allocations: 127.4 kB / 0.9803 GB, free: 4.707 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2045, allocations: 0.8032 MB / 0.9811 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2045, allocations: 8 kB / 0.9811 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2045, allocations: 0 / 0.9811 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2045, allocations: 7.984 kB / 0.9811 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.2072, allocations: 1.507 MB / 0.9825 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2072, allocations: 0 / 0.9825 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.2077, allocations: 155.8 kB / 0.9827 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/0.2082, allocations: 115.5 kB / 0.9828 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.2082, allocations: 27.97 kB / 0.9828 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.2098, allocations: 1.891 MB / 0.9847 GB, free: 8 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2098, allocations: 144 / 0.9847 GB, free: 8 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.2111, allocations: 0.8336 MB / 0.9855 GB, free: 15.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.2115, allocations: 207 kB / 0.9857 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.2116, allocations: 20 kB / 0.9857 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.212, allocations: 39.97 kB / 0.9857 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.2121, allocations: 80.8 kB / 0.9858 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.2122, allocations: 31.97 kB / 0.9859 GB, free: 14.78 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003777/0.2125, allocations: 366.9 kB / 0.9862 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.9e-07/0.2125, allocations: 0 / 0.9862 GB, free: 14.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007929/0.2133, allocations: 347.1 kB / 0.9865 GB, free: 14.08 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.001701/0.215, allocations: 0.6191 MB / 0.9871 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.2162, allocations: 0.6443 MB / 0.9878 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2162, allocations: 0 / 0.9878 GB, free: 12.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.2168, allocations: 460.9 kB / 0.9882 GB, free: 12.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.218, allocations: 341.9 kB / 0.9885 GB, free: 12.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.2203, allocations: 1.549 MB / 0.99 GB, free: 10.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2204, allocations: 199.2 kB / 0.9902 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004282/0.2209, allocations: 203 kB / 0.9904 GB, free: 10.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/0.2214, allocations: 381.9 kB / 0.9908 GB, free: 9.809 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/0.2214, allocations: 0 / 0.9908 GB, free: 9.809 MB / 0.948 GB Notification: Performance of Templates: time 0.01894/0.2404, allocations: 17.92 MB / 1.008 GB, free: 8.211 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.651822859887034]