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.001615/0.001615, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00169/0.00169, allocations: 157.5 kB / 23.01 MB, free: 4.949 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.801/2.801, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.00217/0.00217, allocations: 68.08 kB / 0.9819 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8111, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004946/0.816, allocations: 4.48 MB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1624/0.9784, allocations: 132.7 MB / 1.288 GB, free: 4.902 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.9791, allocations: 24.59 kB / 1.288 GB, free: 4.891 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.9797, allocations: 199.4 kB / 1.288 GB, free: 4.754 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.9815, allocations: 0.5714 MB / 1.289 GB, free: 4.41 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.9835, allocations: 0.8852 MB / 1.29 GB, free: 3.926 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.9851, allocations: 1.452 MB / 1.291 GB, free: 3.168 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.9858, allocations: 411 kB / 1.291 GB, free: 2.926 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.9865, allocations: 0.5214 MB / 1.292 GB, free: 2.672 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.9872, allocations: 486 kB / 1.292 GB, free: 2.445 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.9873, allocations: 119.1 kB / 1.292 GB, free: 2.445 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009503/0.9883, allocations: 498 kB / 1.293 GB, free: 2.328 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.9886, allocations: 310.8 kB / 1.293 GB, free: 2.129 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.9891, allocations: 472.4 kB / 1.294 GB, free: 1.859 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.9913, allocations: 1.723 MB / 1.295 GB, free: 1.125 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9913, allocations: 1.312 kB / 1.295 GB, free: 1.125 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9913, allocations: 0.7031 kB / 1.295 GB, free: 1.125 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.9913, allocations: 0 / 1.295 GB, free: 1.125 MB / 1.139 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.00273/0.994, allocations: 1.45 MB / 1.297 GB, free: 184 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.9941, allocations: 12.84 kB / 1.297 GB, free: 180 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.9959, allocations: 286.4 kB / 1.297 GB, free: 104 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.9973, allocations: 0.7193 MB / 1.298 GB, free: 15.64 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.9974, allocations: 70.44 kB / 1.298 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.9975, allocations: 87.98 kB / 1.298 GB, free: 15.58 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.9994, allocations: 1.232 MB / 1.299 GB, free: 14.63 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.9994, allocations: 3.938 kB / 1.299 GB, free: 14.62 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/0.9995, allocations: 42.05 kB / 1.299 GB, free: 14.59 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.9995, allocations: 21.06 kB / 1.299 GB, free: 14.59 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/1.002, allocations: 1.123 MB / 1.3 GB, free: 14.03 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/1.006, allocations: 2.395 MB / 1.303 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/1.008, allocations: 0.8212 MB / 1.303 GB, free: 11.76 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005499/1.008, allocations: 282.8 kB / 1.304 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.811e-05/1.008, allocations: 24.05 kB / 1.304 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009762/1.009, allocations: 0.6042 MB / 1.304 GB, free: 11.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=83): time 2.425e-06/1.009, allocations: 0 / 1.304 GB, free: 11.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=83): time 0.003371/1.013, allocations: 1.157 MB / 1.305 GB, free: 10.58 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/1.013, allocations: 198.3 kB / 1.306 GB, free: 10.35 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/1.014, allocations: 0.6122 MB / 1.306 GB, free: 9.984 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/1.014, allocations: 43.11 kB / 1.306 GB, free: 9.941 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/1.014, allocations: 416 kB / 1.307 GB, free: 9.578 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/1.014, allocations: 284 kB / 1.307 GB, free: 9.332 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/1.015, allocations: 178.1 kB / 1.307 GB, free: 9.223 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.015, allocations: 387.8 kB / 1.307 GB, free: 8.852 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/1.015, allocations: 279.9 kB / 1.308 GB, free: 8.715 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/1.016, allocations: 0.5025 MB / 1.308 GB, free: 8.324 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.017, allocations: 0.647 MB / 1.309 GB, free: 7.961 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/1.017, allocations: 1.188 kB / 1.309 GB, free: 7.961 MB / 1.154 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002066/1.019, allocations: 0.8889 MB / 1.31 GB, free: 7.504 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.019, allocations: 6.344 kB / 1.31 GB, free: 7.504 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.019, allocations: 1.562 kB / 1.31 GB, free: 7.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/1.02, allocations: 90.14 kB / 1.31 GB, free: 7.457 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007061/1.021, allocations: 167.4 kB / 1.31 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/1.023, allocations: 1.503 MB / 1.311 GB, free: 5.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/1.024, allocations: 91.64 kB / 1.311 GB, free: 5.922 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/1.024, allocations: 41.22 kB / 1.312 GB, free: 5.906 MB / 1.154 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.0004634/1.024, allocations: 271.1 kB / 1.312 GB, free: 5.695 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/1.024, allocations: 86.94 kB / 1.312 GB, free: 5.648 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002507/1.027, allocations: 1.086 MB / 1.313 GB, free: 5.035 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.027, allocations: 10.22 kB / 1.313 GB, free: 5.035 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.027, allocations: 4 kB / 1.313 GB, free: 5.031 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.027, allocations: 9.094 kB / 1.313 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/1.031, allocations: 1.793 MB / 1.315 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.031, allocations: 4 kB / 1.315 GB, free: 3.453 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/1.031, allocations: 147.8 kB / 1.315 GB, free: 3.309 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/1.032, allocations: 76.72 kB / 1.315 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/1.032, allocations: 23.98 kB / 1.315 GB, free: 3.207 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/1.034, allocations: 1.532 MB / 1.316 GB, free: 1.566 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.034, allocations: 0 / 1.316 GB, free: 1.566 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/1.036, allocations: 1.022 MB / 1.317 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/1.036, allocations: 195.1 kB / 1.318 GB, free: 340 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/1.036, allocations: 20 kB / 1.318 GB, free: 320 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/1.037, allocations: 67.3 kB / 1.318 GB, free: 256 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.037, allocations: 72.86 kB / 1.318 GB, free: 184 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/1.037, allocations: 39.92 kB / 1.318 GB, free: 144 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006236/1.038, allocations: 439 kB / 1.318 GB, free: 15.72 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.038, allocations: 4 kB / 1.318 GB, free: 15.71 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001101/1.039, allocations: 347.1 kB / 1.319 GB, free: 15.38 MB / 1.17 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.002106/1.041, allocations: 0.6395 MB / 1.319 GB, free: 14.94 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00187/1.043, allocations: 0.8198 MB / 1.32 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.043, allocations: 0 / 1.32 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/1.044, allocations: 0.4963 MB / 1.32 GB, free: 13.6 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.045, allocations: 316 kB / 1.321 GB, free: 13.31 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/1.049, allocations: 1.711 MB / 1.322 GB, free: 11.57 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/1.049, allocations: 451.8 kB / 1.323 GB, free: 11.1 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000856/1.05, allocations: 266.7 kB / 1.323 GB, free: 10.84 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/1.05, allocations: 108.4 kB / 1.323 GB, free: 10.73 MB / 1.17 GB Notification: Performance of SimCode: time 6.41e-07/1.05, allocations: 4 kB / 1.323 GB, free: 10.73 MB / 1.17 GB Notification: Performance of Templates: time 0.02918/1.079, allocations: 15.96 MB / 1.339 GB, free: 11.06 MB / 1.186 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 ida -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.52160662796814]