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.001843/0.001843, allocations: 85.48 kB / 19.44 MB, free: 340 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.002053/0.002053, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.304/3.304, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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.313e-06/1.313e-06, allocations: 0 / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.7e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007984/0.008011, allocations: 4.743 MB / 0.882 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2062/0.2142, allocations: 146.3 MB / 1.025 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008318/0.215, allocations: 23.81 kB / 1.025 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.2157, allocations: 214 kB / 1.025 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.2175, allocations: 0.5785 MB / 1.026 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.2196, allocations: 0.8958 MB / 1.027 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.2216, allocations: 1.513 MB / 1.028 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007866/0.2224, allocations: 406.1 kB / 1.028 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.2235, allocations: 0.7679 MB / 1.029 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.2242, allocations: 426.7 kB / 1.03 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.2244, allocations: 124 kB / 1.03 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.2255, allocations: 0.4955 MB / 1.03 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.2259, allocations: 318.9 kB / 1.03 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.2265, allocations: 410.9 kB / 1.031 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.2292, allocations: 1.838 MB / 1.033 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2292, allocations: 0 / 1.033 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2292, allocations: 0 / 1.033 GB, free: 7.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.2293, allocations: 0 / 1.033 GB, free: 7.09 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.003077/0.2323, allocations: 1.64 MB / 1.034 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2324, allocations: 12.03 kB / 1.034 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.2342, allocations: 375.5 kB / 1.035 GB, free: 5.023 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.2357, allocations: 0.752 MB / 1.035 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.2358, allocations: 74.12 kB / 1.035 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.2359, allocations: 99.98 kB / 1.036 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.238, allocations: 1.285 MB / 1.037 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2381, allocations: 3.938 kB / 1.037 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.2382, allocations: 43.98 kB / 1.037 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.2382, allocations: 20 kB / 1.037 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.2402, allocations: 1.069 MB / 1.038 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006025/0.2463, allocations: 3.473 MB / 1.041 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.2481, allocations: 0.7972 MB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.2486, allocations: 274.6 kB / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.2487, allocations: 40.91 kB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.2498, allocations: 0.6199 MB / 1.043 GB, free: 12.16 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 2.395e-06/0.2498, allocations: 0 / 1.043 GB, free: 12.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.003427/0.2532, allocations: 1.12 MB / 1.044 GB, free: 11.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.2534, allocations: 200.9 kB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2545, allocations: 0.7729 MB / 1.045 GB, free: 9.996 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.2546, allocations: 49.7 kB / 1.045 GB, free: 9.941 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007115/0.2553, allocations: 0.4921 MB / 1.046 GB, free: 9.441 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000343/0.2556, allocations: 325.4 kB / 1.046 GB, free: 9.121 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003703/0.256, allocations: 232.2 kB / 1.046 GB, free: 8.887 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004228/0.2564, allocations: 0.6172 MB / 1.047 GB, free: 8.258 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/0.257, allocations: 253.9 kB / 1.047 GB, free: 8.008 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.2579, allocations: 0.5438 MB / 1.047 GB, free: 7.402 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2591, allocations: 0.6387 MB / 1.048 GB, free: 6.738 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2591, allocations: 0 / 1.048 GB, free: 6.738 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002322/0.2615, allocations: 0.9144 MB / 1.049 GB, free: 5.812 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.2615, allocations: 8 kB / 1.049 GB, free: 5.805 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.2615, allocations: 0 / 1.049 GB, free: 5.805 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.2625, allocations: 139.7 kB / 1.049 GB, free: 5.664 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.2633, allocations: 191.7 kB / 1.049 GB, free: 5.477 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.2661, allocations: 2.042 MB / 1.051 GB, free: 3.309 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/0.2668, allocations: 87.48 kB / 1.051 GB, free: 3.223 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.2669, allocations: 43.97 kB / 1.051 GB, free: 3.18 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.0004856/0.2674, allocations: 291 kB / 1.052 GB, free: 2.887 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.2676, allocations: 115.4 kB / 1.052 GB, free: 2.773 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.2704, allocations: 1.045 MB / 1.053 GB, free: 1.703 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.2704, allocations: 8 kB / 1.053 GB, free: 1.695 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2704, allocations: 0 / 1.053 GB, free: 1.695 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.2705, allocations: 7.984 kB / 1.053 GB, free: 1.688 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3796/0.6501, allocations: 2.068 MB / 1.055 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.6501, allocations: 7.219 kB / 1.055 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.6507, allocations: 150.9 kB / 1.055 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007474/0.6515, allocations: 123.9 kB / 1.055 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.746e-05/0.6516, allocations: 27.06 kB / 1.055 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.6532, allocations: 2.049 MB / 1.057 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6532, allocations: 1.25 kB / 1.057 GB, free: 217.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.6552, allocations: 1.088 MB / 1.058 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.6557, allocations: 202.4 kB / 1.058 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.6559, allocations: 30.25 kB / 1.058 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.6564, allocations: 49.56 kB / 1.059 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.6566, allocations: 84.23 kB / 1.059 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.6567, allocations: 37.8 kB / 1.059 GB, free: 216.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000523/0.6572, allocations: 495.9 kB / 1.059 GB, free: 216.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6572, allocations: 2.469 kB / 1.059 GB, free: 216.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008931/0.6581, allocations: 348.2 kB / 1.059 GB, free: 216.7 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.003368/0.6614, allocations: 0.6611 MB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.6633, allocations: 0.9078 MB / 1.061 GB, free: 216.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6633, allocations: 3.688 kB / 1.061 GB, free: 216.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.6641, allocations: 0.588 MB / 1.062 GB, free: 216 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.6654, allocations: 344.2 kB / 1.062 GB, free: 215.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.6679, allocations: 1.681 MB / 1.064 GB, free: 215 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.6683, allocations: 448.6 kB / 1.064 GB, free: 214.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006832/0.669, allocations: 266.1 kB / 1.064 GB, free: 214.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.6692, allocations: 112.8 kB / 1.064 GB, free: 214.8 MB / 1.01 GB Notification: Performance of SimCode: time 8.82e-07/0.6692, allocations: 0 / 1.064 GB, free: 214.8 MB / 1.01 GB Notification: Performance of Templates: time 0.02477/0.694, allocations: 16.5 MB / 1.08 GB, free: 212.8 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.53108168207109]