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.00131/0.00131, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001504/0.001504, allocations: 211.3 kB / 22.99 MB, free: 4.957 MB / 14.72 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 68.98 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3073, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007019/0.3143, allocations: 4.488 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.4885, allocations: 132.7 MB / 1.461 GB, free: 7.258 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007568/0.4892, allocations: 23.81 kB / 1.461 GB, free: 7.234 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005871/0.4898, allocations: 206.1 kB / 1.461 GB, free: 7.031 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.4916, allocations: 0.5735 MB / 1.462 GB, free: 6.457 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.4936, allocations: 0.8768 MB / 1.463 GB, free: 5.586 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.4954, allocations: 1.44 MB / 1.464 GB, free: 4.141 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.4961, allocations: 430.1 kB / 1.464 GB, free: 3.695 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.4969, allocations: 0.5295 MB / 1.465 GB, free: 3.164 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.4976, allocations: 0.5212 MB / 1.466 GB, free: 2.641 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.4978, allocations: 120 kB / 1.466 GB, free: 2.523 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.4988, allocations: 0.4996 MB / 1.466 GB, free: 2.023 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.4991, allocations: 307 kB / 1.466 GB, free: 1.723 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.4996, allocations: 485.7 kB / 1.467 GB, free: 1.246 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.5017, allocations: 1.716 MB / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5017, allocations: 0 / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5017, allocations: 3.938 kB / 1.469 GB, free: 15.52 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.5017, allocations: 7.938 kB / 1.469 GB, free: 15.51 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002846/0.5045, allocations: 1.439 MB / 1.47 GB, free: 14.04 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5046, allocations: 8.031 kB / 1.47 GB, free: 14.03 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.5065, allocations: 287.9 kB / 1.47 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.5079, allocations: 0.7298 MB / 1.471 GB, free: 12.99 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.508, allocations: 66 kB / 1.471 GB, free: 12.92 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5081, allocations: 80 kB / 1.471 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.5101, allocations: 1.25 MB / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.5101, allocations: 0 / 1.472 GB, free: 11.48 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.5102, allocations: 36 kB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.5103, allocations: 24 kB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.5123, allocations: 1.116 MB / 1.473 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.5166, allocations: 2.401 MB / 1.476 GB, free: 7.84 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.5185, allocations: 0.8238 MB / 1.477 GB, free: 7.008 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.519, allocations: 290.6 kB / 1.477 GB, free: 6.723 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-05/0.5191, allocations: 28.62 kB / 1.477 GB, free: 6.695 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009834/0.5201, allocations: 0.5905 MB / 1.477 GB, free: 6.066 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.505e-06/0.5201, allocations: 0 / 1.477 GB, free: 6.066 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003577/0.5237, allocations: 1.16 MB / 1.479 GB, free: 4.895 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.5238, allocations: 192.9 kB / 1.479 GB, free: 4.664 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.5246, allocations: 0.6135 MB / 1.479 GB, free: 4.043 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.5247, allocations: 41.7 kB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.5251, allocations: 428.9 kB / 1.48 GB, free: 3.57 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.5253, allocations: 281.7 kB / 1.48 GB, free: 3.293 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.5256, allocations: 170.5 kB / 1.48 GB, free: 3.121 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.5258, allocations: 382.8 kB / 1.481 GB, free: 2.738 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.5264, allocations: 277.8 kB / 1.481 GB, free: 2.465 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.5272, allocations: 0.5138 MB / 1.481 GB, free: 1.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.5284, allocations: 0.6385 MB / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5284, allocations: 0 / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002191/0.5306, allocations: 0.8958 MB / 1.483 GB, free: 340 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5306, allocations: 4 kB / 1.483 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5306, allocations: 4 kB / 1.483 GB, free: 332 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.5313, allocations: 84.95 kB / 1.483 GB, free: 244 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.532, allocations: 171.8 kB / 1.483 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.5343, allocations: 1.508 MB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.5351, allocations: 85.41 kB / 1.485 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.5352, allocations: 39.97 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (100): * Single equations (assignments): 99 * 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.000454/0.5356, allocations: 279.6 kB / 1.485 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.5358, allocations: 83.48 kB / 1.485 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.5385, allocations: 1.085 MB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5385, allocations: 8 kB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5385, allocations: 7.938 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5385, allocations: 7.984 kB / 1.486 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.5422, allocations: 1.791 MB / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5422, allocations: 0 / 1.488 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.5428, allocations: 151.8 kB / 1.488 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.5433, allocations: 68.78 kB / 1.488 GB, free: 10.79 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.5434, allocations: 31.98 kB / 1.488 GB, free: 10.76 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.5455, allocations: 1.52 MB / 1.49 GB, free: 9.129 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5455, allocations: 4.062 kB / 1.49 GB, free: 9.125 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5478, allocations: 1.022 MB / 1.491 GB, free: 8.086 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.5483, allocations: 199 kB / 1.491 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5484, allocations: 16 kB / 1.491 GB, free: 7.875 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/0.5491, allocations: 63.92 kB / 1.491 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.5493, allocations: 76.86 kB / 1.491 GB, free: 7.734 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/0.5494, allocations: 39.97 kB / 1.491 GB, free: 7.695 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000597/0.55, allocations: 443 kB / 1.491 GB, free: 7.27 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.55, allocations: 0 / 1.491 GB, free: 7.27 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009581/0.5509, allocations: 343 kB / 1.492 GB, free: 6.934 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002099/0.553, allocations: 0.6426 MB / 1.492 GB, free: 6.496 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.5549, allocations: 0.8237 MB / 1.493 GB, free: 5.664 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5549, allocations: 0 / 1.493 GB, free: 5.664 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5559, allocations: 0.4924 MB / 1.494 GB, free: 5.16 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.5572, allocations: 312.9 kB / 1.494 GB, free: 4.879 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.5604, allocations: 1.715 MB / 1.496 GB, free: 3.129 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.5609, allocations: 444.8 kB / 1.496 GB, free: 2.66 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008159/0.5617, allocations: 274.6 kB / 1.496 GB, free: 2.387 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.562, allocations: 111.4 kB / 1.496 GB, free: 2.277 MB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/0.562, allocations: 0 / 1.496 GB, free: 2.277 MB / 1.186 GB Notification: Performance of Templates: time 0.03111/0.5932, allocations: 17.25 MB / 1.513 GB, free: 1.297 MB / 1.201 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.307511361999786]