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.001325/0.001325, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001432/0.001432, allocations: 161.9 kB / 23.01 MB, free: 4.965 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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 2.907/2.907, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002371/0.002371, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9096/0.912, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006267/0.9182, allocations: 4.494 MB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1849/1.103, allocations: 132.7 MB / 1.321 GB, free: 12.65 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/1.104, allocations: 23.81 kB / 1.321 GB, free: 12.63 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/1.105, allocations: 206.1 kB / 1.321 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/1.107, allocations: 0.5694 MB / 1.321 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/1.11, allocations: 0.8747 MB / 1.322 GB, free: 10.99 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002144/1.112, allocations: 1.451 MB / 1.324 GB, free: 9.531 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008106/1.113, allocations: 414 kB / 1.324 GB, free: 9.102 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008144/1.113, allocations: 0.5217 MB / 1.325 GB, free: 8.578 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/1.114, allocations: 477.7 kB / 1.325 GB, free: 8.109 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/1.114, allocations: 120 kB / 1.325 GB, free: 7.992 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/1.115, allocations: 499.6 kB / 1.326 GB, free: 7.504 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/1.116, allocations: 307 kB / 1.326 GB, free: 7.203 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005319/1.116, allocations: 477.7 kB / 1.326 GB, free: 6.734 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002201/1.118, allocations: 1.724 MB / 1.328 GB, free: 5.008 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.118, allocations: 4 kB / 1.328 GB, free: 5.004 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.422e-06/1.118, allocations: 0 / 1.328 GB, free: 5.004 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.613e-05/1.119, allocations: 3.938 kB / 1.328 GB, free: 5 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.002903/1.121, allocations: 1.443 MB / 1.329 GB, free: 3.523 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/1.121, allocations: 8.031 kB / 1.329 GB, free: 3.516 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/1.123, allocations: 287.9 kB / 1.33 GB, free: 3.234 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.125, allocations: 0.7182 MB / 1.33 GB, free: 2.484 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/1.125, allocations: 66 kB / 1.33 GB, free: 2.418 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.125, allocations: 84 kB / 1.331 GB, free: 2.336 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/1.127, allocations: 1.238 MB / 1.332 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.127, allocations: 0 / 1.332 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.923e-05/1.127, allocations: 40 kB / 1.332 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.127, allocations: 24 kB / 1.332 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/1.129, allocations: 1.12 MB / 1.333 GB, free: 15.8 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/1.134, allocations: 2.42 MB / 1.335 GB, free: 13.32 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/1.136, allocations: 0.8172 MB / 1.336 GB, free: 12.5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/1.136, allocations: 297.6 kB / 1.336 GB, free: 12.21 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/1.136, allocations: 20.64 kB / 1.336 GB, free: 12.19 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.137, allocations: 0.5968 MB / 1.337 GB, free: 11.55 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.585e-06/1.137, allocations: 0 / 1.337 GB, free: 11.55 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.003532/1.141, allocations: 1.162 MB / 1.338 GB, free: 10.39 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.141, allocations: 196.8 kB / 1.338 GB, free: 10.15 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009269/1.142, allocations: 0.6174 MB / 1.339 GB, free: 9.523 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.679e-05/1.142, allocations: 41.7 kB / 1.339 GB, free: 9.477 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/1.142, allocations: 417 kB / 1.339 GB, free: 9.062 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/1.143, allocations: 285.5 kB / 1.34 GB, free: 8.781 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/1.143, allocations: 174.6 kB / 1.34 GB, free: 8.605 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.143, allocations: 382.8 kB / 1.34 GB, free: 8.223 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006243/1.144, allocations: 273.9 kB / 1.34 GB, free: 7.957 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/1.145, allocations: 0.5021 MB / 1.341 GB, free: 7.398 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/1.146, allocations: 0.6501 MB / 1.342 GB, free: 6.73 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/1.146, allocations: 0 / 1.342 GB, free: 6.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002325/1.148, allocations: 0.892 MB / 1.342 GB, free: 5.824 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.148, allocations: 4.188 kB / 1.342 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.148, allocations: 8 kB / 1.342 GB, free: 5.812 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006598/1.149, allocations: 80.77 kB / 1.342 GB, free: 5.73 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/1.15, allocations: 171.8 kB / 1.343 GB, free: 5.562 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/1.152, allocations: 1.504 MB / 1.344 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/1.153, allocations: 86.39 kB / 1.344 GB, free: 3.867 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.892e-05/1.153, allocations: 39.97 kB / 1.344 GB, free: 3.828 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.0005266/1.154, allocations: 275.6 kB / 1.344 GB, free: 3.551 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.154, allocations: 95.36 kB / 1.345 GB, free: 3.457 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/1.157, allocations: 1.089 MB / 1.346 GB, free: 2.355 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.157, allocations: 8 kB / 1.346 GB, free: 2.348 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.157, allocations: 4 kB / 1.346 GB, free: 2.344 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.157, allocations: 3.984 kB / 1.346 GB, free: 2.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/1.161, allocations: 1.788 MB / 1.347 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.161, allocations: 0 / 1.347 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/1.161, allocations: 151.7 kB / 1.348 GB, free: 372 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/1.162, allocations: 76.78 kB / 1.348 GB, free: 292 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/1.162, allocations: 27.98 kB / 1.348 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/1.164, allocations: 1.525 MB / 1.349 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.164, allocations: 0 / 1.349 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/1.166, allocations: 1.022 MB / 1.35 GB, free: 13.58 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/1.167, allocations: 191.1 kB / 1.35 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/1.167, allocations: 20 kB / 1.35 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/1.168, allocations: 68 kB / 1.35 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/1.168, allocations: 80.84 kB / 1.35 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.168, allocations: 31.98 kB / 1.35 GB, free: 13.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000774/1.169, allocations: 439 kB / 1.351 GB, free: 12.78 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.169, allocations: 0 / 1.351 GB, free: 12.78 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001145/1.17, allocations: 347.1 kB / 1.351 GB, free: 12.44 MB / 1.201 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.002276/1.172, allocations: 0.6369 MB / 1.352 GB, free: 12 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.174, allocations: 0.8272 MB / 1.353 GB, free: 11.16 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.174, allocations: 0 / 1.353 GB, free: 11.16 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.175, allocations: 0.4966 MB / 1.353 GB, free: 10.65 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/1.177, allocations: 316.9 kB / 1.353 GB, free: 10.36 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/1.18, allocations: 1.707 MB / 1.355 GB, free: 8.629 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/1.181, allocations: 453.6 kB / 1.356 GB, free: 8.152 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008974/1.182, allocations: 262.7 kB / 1.356 GB, free: 7.891 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/1.182, allocations: 112.4 kB / 1.356 GB, free: 7.781 MB / 1.201 GB Notification: Performance of SimCode: time 8.82e-07/1.182, allocations: 3.938 kB / 1.356 GB, free: 7.777 MB / 1.201 GB Notification: Performance of Templates: time 0.03081/1.213, allocations: 15.95 MB / 1.372 GB, free: 8.078 MB / 1.217 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/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.786771398968995]