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.001299/0.001299, allocations: 116.1 kB / 17.17 MB, free: 6 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.001369/0.001369, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.429/1.429, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.705/2.705, allocations: 476.7 MB / 0.7679 GB, free: 9.324 MB / 0.6075 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",version="2.0",platforms={"static"}) [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.001968/0.001968, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.881, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007594/0.8886, allocations: 4.995 MB / 1.284 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1902/1.079, allocations: 154 MB / 1.434 GB, free: 12.86 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/1.08, allocations: 23.81 kB / 1.434 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/1.081, allocations: 198.2 kB / 1.434 GB, free: 12.64 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/1.083, allocations: 0.5734 MB / 1.435 GB, free: 12.07 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/1.085, allocations: 0.8831 MB / 1.436 GB, free: 11.2 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001862/1.087, allocations: 1.447 MB / 1.437 GB, free: 9.742 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007723/1.088, allocations: 449.4 kB / 1.438 GB, free: 9.277 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007823/1.089, allocations: 0.5256 MB / 1.438 GB, free: 8.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006694/1.089, allocations: 0.5173 MB / 1.439 GB, free: 8.23 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/1.089, allocations: 120 kB / 1.439 GB, free: 8.113 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/1.09, allocations: 0.5113 MB / 1.439 GB, free: 7.602 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/1.091, allocations: 314.9 kB / 1.44 GB, free: 7.293 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/1.091, allocations: 0.5714 MB / 1.44 GB, free: 6.719 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/1.094, allocations: 1.716 MB / 1.442 GB, free: 4.996 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/1.094, allocations: 0 / 1.442 GB, free: 4.996 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.212e-06/1.094, allocations: 4 kB / 1.442 GB, free: 4.992 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.275e-05/1.094, allocations: 0 / 1.442 GB, free: 4.992 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.002828/1.096, allocations: 1.526 MB / 1.443 GB, free: 3.414 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.097, allocations: 12.03 kB / 1.443 GB, free: 3.402 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.775e-05/1.097, allocations: 26.19 kB / 1.443 GB, free: 3.375 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/1.097, allocations: 143.6 kB / 1.444 GB, free: 3.227 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/1.099, allocations: 283.9 kB / 1.444 GB, free: 2.949 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.1, allocations: 0.7938 MB / 1.445 GB, free: 2.113 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/1.1, allocations: 70 kB / 1.445 GB, free: 2.047 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.1, allocations: 88 kB / 1.445 GB, free: 1.961 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/1.102, allocations: 0.9833 MB / 1.446 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.102, allocations: 0 / 1.446 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.324e-05/1.102, allocations: 39.94 kB / 1.446 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/1.102, allocations: 24 kB / 1.446 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/1.104, allocations: 1.163 MB / 1.447 GB, free: 15.7 MB / 1.139 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.004682/1.109, allocations: 3.01 MB / 1.45 GB, free: 12.55 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/1.111, allocations: 0.9175 MB / 1.451 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/1.111, allocations: 282.7 kB / 1.451 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/1.111, allocations: 32.61 kB / 1.451 GB, free: 11.3 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000924/1.112, allocations: 0.4964 MB / 1.451 GB, free: 10.79 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 2.444e-06/1.112, allocations: 3.938 kB / 1.451 GB, free: 10.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=83): time 0.003451/1.116, allocations: 1.241 MB / 1.453 GB, free: 9.527 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.116, allocations: 188.9 kB / 1.453 GB, free: 9.297 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/1.117, allocations: 0.6568 MB / 1.454 GB, free: 8.637 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/1.117, allocations: 41.7 kB / 1.454 GB, free: 8.59 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/1.117, allocations: 421 kB / 1.454 GB, free: 8.172 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/1.118, allocations: 289.5 kB / 1.454 GB, free: 7.887 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/1.118, allocations: 158.6 kB / 1.454 GB, free: 7.727 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.118, allocations: 386.8 kB / 1.455 GB, free: 7.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/1.119, allocations: 249.9 kB / 1.455 GB, free: 7.098 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/1.119, allocations: 393.1 kB / 1.455 GB, free: 6.676 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/1.121, allocations: 0.6189 MB / 1.456 GB, free: 6.039 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.121, allocations: 0 / 1.456 GB, free: 6.039 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002114/1.123, allocations: 0.8451 MB / 1.457 GB, free: 5.18 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.123, allocations: 4 kB / 1.457 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.123, allocations: 4 kB / 1.457 GB, free: 5.172 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/1.123, allocations: 80.97 kB / 1.457 GB, free: 5.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/1.124, allocations: 163.7 kB / 1.457 GB, free: 4.93 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/1.126, allocations: 1.631 MB / 1.459 GB, free: 3.156 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/1.127, allocations: 99.52 kB / 1.459 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/1.127, allocations: 31.98 kB / 1.459 GB, free: 3.027 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (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 (92): * Single equations (assignments): 91 * 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.0004805/1.128, allocations: 269.6 kB / 1.459 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/1.128, allocations: 87.44 kB / 1.459 GB, free: 2.668 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/1.13, allocations: 1.097 MB / 1.46 GB, free: 1.555 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.13, allocations: 8 kB / 1.46 GB, free: 1.547 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.13, allocations: 4 kB / 1.46 GB, free: 1.543 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.13, allocations: 3.984 kB / 1.46 GB, free: 1.539 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/1.134, allocations: 2.111 MB / 1.462 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.134, allocations: 7.938 kB / 1.462 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/1.135, allocations: 155.7 kB / 1.462 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004412/1.135, allocations: 68.8 kB / 1.462 GB, free: 15.13 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/1.135, allocations: 31.97 kB / 1.462 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/1.137, allocations: 1.65 MB / 1.464 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.137, allocations: 3.984 kB / 1.464 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/1.14, allocations: 1.022 MB / 1.465 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/1.14, allocations: 280.1 kB / 1.465 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.14, allocations: 24 kB / 1.465 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/1.141, allocations: 62.59 kB / 1.465 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/1.141, allocations: 76.83 kB / 1.466 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/1.141, allocations: 39.97 kB / 1.466 GB, free: 11.77 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006827/1.142, allocations: 483 kB / 1.466 GB, free: 11.3 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.142, allocations: 0 / 1.466 GB, free: 11.3 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009882/1.143, allocations: 331.1 kB / 1.466 GB, free: 10.97 MB / 1.154 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.004302/1.147, allocations: 2.074 MB / 1.468 GB, free: 9.047 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001827/1.149, allocations: 0.7999 MB / 1.469 GB, free: 8.238 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.149, allocations: 0 / 1.469 GB, free: 8.238 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009634/1.15, allocations: 0.4928 MB / 1.47 GB, free: 7.734 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/1.151, allocations: 318.7 kB / 1.47 GB, free: 7.445 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.162, allocations: 6.443 MB / 1.476 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/1.163, allocations: 1.031 MB / 1.477 GB, free: 15.77 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008774/1.164, allocations: 275.1 kB / 1.478 GB, free: 15.5 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/1.164, allocations: 403.2 kB / 1.478 GB, free: 15.1 MB / 1.17 GB Notification: Performance of SimCode: time 9.12e-07/1.164, allocations: 4 kB / 1.478 GB, free: 15.1 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05513/1.22, allocations: 22.74 MB / 1.5 GB, free: 8.66 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.7, allocations: 16.03 kB / 1.5 GB, free: 8.645 MB / 1.186 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] 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: 21.009717053035274]