Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001724/0.001724, allocations: 79.81 kB / 19.76 MB, free: 2.031 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.00211/0.00211, allocations: 157.6 kB / 23.01 MB, free: 4.945 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.488/1.488, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.683/2.683, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002156/0.002156, allocations: 73.92 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2871, allocations: 169.9 MB / 1.117 GB, free: 2.602 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007157/0.2942, allocations: 4.486 MB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6782/0.9724, allocations: 132.7 MB / 1.251 GB, free: 3.262 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/0.9731, allocations: 23.62 kB / 1.251 GB, free: 3.25 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.9737, allocations: 204.5 kB / 1.252 GB, free: 3.109 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.9753, allocations: 0.5773 MB / 1.252 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.9773, allocations: 0.8743 MB / 1.253 GB, free: 2.324 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.9788, allocations: 1.444 MB / 1.254 GB, free: 1.574 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.9796, allocations: 412.4 kB / 1.255 GB, free: 1.332 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007312/0.9803, allocations: 0.5199 MB / 1.255 GB, free: 1.078 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/0.981, allocations: 483.2 kB / 1.256 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.9812, allocations: 119.2 kB / 1.256 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009676/0.9821, allocations: 498.2 kB / 1.256 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.9825, allocations: 312.2 kB / 1.257 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.983, allocations: 475.5 kB / 1.257 GB, free: 280 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.985, allocations: 1.719 MB / 1.259 GB, free: 15.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9851, allocations: 1.094 kB / 1.259 GB, free: 15.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9851, allocations: 0 / 1.259 GB, free: 15.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.9851, allocations: 0 / 1.259 GB, free: 15.54 MB / 1.123 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.002836/0.9879, allocations: 1.447 MB / 1.26 GB, free: 14.6 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.9879, allocations: 10.22 kB / 1.26 GB, free: 14.6 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.9898, allocations: 288.4 kB / 1.261 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.9911, allocations: 0.7219 MB / 1.261 GB, free: 14.07 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.9912, allocations: 66.69 kB / 1.261 GB, free: 14.04 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.9913, allocations: 89.78 kB / 1.261 GB, free: 14.01 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.9933, allocations: 1.235 MB / 1.263 GB, free: 13.24 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.9933, allocations: 0 / 1.263 GB, free: 13.24 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.9934, allocations: 38.27 kB / 1.263 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.9934, allocations: 21.78 kB / 1.263 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.9955, allocations: 1.12 MB / 1.264 GB, free: 12.95 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004274/0.9997, allocations: 2.405 MB / 1.266 GB, free: 11.44 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/1.002, allocations: 0.8222 MB / 1.267 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/1.002, allocations: 284.4 kB / 1.267 GB, free: 11.01 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/1.002, allocations: 25.94 kB / 1.267 GB, free: 11.01 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009807/1.003, allocations: 0.6051 MB / 1.268 GB, free: 10.67 MB / 1.123 GB Notification: Performance of pre-optimization done (n=83): time 2.755e-06/1.003, allocations: 0 / 1.268 GB, free: 10.67 MB / 1.123 GB Notification: Performance of matching and sorting (n=83): time 0.003424/1.007, allocations: 1.157 MB / 1.269 GB, free: 10.24 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.007, allocations: 195.7 kB / 1.269 GB, free: 10.02 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000852/1.008, allocations: 0.6121 MB / 1.27 GB, free: 9.738 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/1.008, allocations: 43.42 kB / 1.27 GB, free: 9.695 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/1.008, allocations: 417.8 kB / 1.27 GB, free: 9.371 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/1.008, allocations: 287.1 kB / 1.27 GB, free: 9.145 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/1.009, allocations: 172.1 kB / 1.271 GB, free: 9.066 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002241/1.009, allocations: 384.2 kB / 1.271 GB, free: 8.723 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/1.009, allocations: 278.7 kB / 1.271 GB, free: 8.621 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/1.01, allocations: 0.5062 MB / 1.272 GB, free: 8.281 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.011, allocations: 0.646 MB / 1.272 GB, free: 7.961 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.011, allocations: 1.125 kB / 1.272 GB, free: 7.961 MB / 1.123 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00213/1.014, allocations: 0.8793 MB / 1.273 GB, free: 7.613 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.014, allocations: 9.797 kB / 1.273 GB, free: 7.609 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.014, allocations: 4.125 kB / 1.273 GB, free: 7.609 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/1.014, allocations: 89.17 kB / 1.273 GB, free: 7.586 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/1.015, allocations: 174 kB / 1.273 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/1.017, allocations: 1.502 MB / 1.275 GB, free: 6.195 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/1.018, allocations: 89.83 kB / 1.275 GB, free: 6.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/1.018, allocations: 39.41 kB / 1.275 GB, free: 6.145 MB / 1.123 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.0004486/1.018, allocations: 281.2 kB / 1.275 GB, free: 5.938 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.019, allocations: 82.73 kB / 1.275 GB, free: 5.895 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/1.021, allocations: 1.085 MB / 1.276 GB, free: 5.469 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.021, allocations: 14.62 kB / 1.276 GB, free: 5.465 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/1.021, allocations: 0 / 1.276 GB, free: 5.465 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.021, allocations: 5.25 kB / 1.276 GB, free: 5.465 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/1.025, allocations: 1.779 MB / 1.278 GB, free: 4.629 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.025, allocations: 1.5 kB / 1.278 GB, free: 4.629 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/1.026, allocations: 156.1 kB / 1.278 GB, free: 4.609 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/1.026, allocations: 72.48 kB / 1.278 GB, free: 4.59 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/1.026, allocations: 26.2 kB / 1.278 GB, free: 4.578 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/1.028, allocations: 1.531 MB / 1.28 GB, free: 3.188 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.028, allocations: 64 / 1.28 GB, free: 3.188 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/1.03, allocations: 1.023 MB / 1.281 GB, free: 2.711 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/1.031, allocations: 201.3 kB / 1.281 GB, free: 2.598 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.031, allocations: 24.58 kB / 1.281 GB, free: 2.582 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/1.032, allocations: 61.42 kB / 1.281 GB, free: 2.57 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/1.032, allocations: 76.28 kB / 1.281 GB, free: 2.559 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/1.032, allocations: 37.86 kB / 1.281 GB, free: 2.551 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006163/1.032, allocations: 440.1 kB / 1.282 GB, free: 2.359 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.032, allocations: 1.156 kB / 1.282 GB, free: 2.359 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001027/1.033, allocations: 345.9 kB / 1.282 GB, free: 2.262 MB / 1.123 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.002131/1.036, allocations: 0.6356 MB / 1.283 GB, free: 2.023 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002383/1.038, allocations: 0.8252 MB / 1.284 GB, free: 1.68 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.038, allocations: 0 / 1.284 GB, free: 1.68 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/1.039, allocations: 0.4976 MB / 1.284 GB, free: 1.445 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.041, allocations: 311.4 kB / 1.284 GB, free: 1.344 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/1.044, allocations: 1.712 MB / 1.286 GB, free: 464 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/1.045, allocations: 451.1 kB / 1.286 GB, free: 328 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009026/1.045, allocations: 277 kB / 1.287 GB, free: 236 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/1.046, allocations: 108.5 kB / 1.287 GB, free: 216 kB / 1.123 GB Notification: Performance of SimCode: time 7.91e-07/1.046, allocations: 1.344 kB / 1.287 GB, free: 216 kB / 1.123 GB Notification: Performance of Templates: time 0.0288/1.075, allocations: 15.96 MB / 1.302 GB, free: 10.18 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.126868269057013]