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.001783/0.001783, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002387/0.002387, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.992 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.659/2.659, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",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.002147/0.002147, allocations: 67.73 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2935, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006688/0.3002, allocations: 5.019 MB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.4774, allocations: 154.2 MB / 1.439 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008274/0.4782, allocations: 23.81 kB / 1.439 GB, free: 11.9 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.4789, allocations: 198.1 kB / 1.439 GB, free: 11.71 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.4812, allocations: 0.5741 MB / 1.44 GB, free: 11.14 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.4836, allocations: 0.899 MB / 1.44 GB, free: 10.24 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.4855, allocations: 1.455 MB / 1.442 GB, free: 8.781 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.4862, allocations: 430.1 kB / 1.442 GB, free: 8.336 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007445/0.487, allocations: 0.5217 MB / 1.443 GB, free: 7.812 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.4877, allocations: 0.5304 MB / 1.443 GB, free: 7.281 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4879, allocations: 120 kB / 1.443 GB, free: 7.164 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.4889, allocations: 0.5113 MB / 1.444 GB, free: 6.652 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.4892, allocations: 307 kB / 1.444 GB, free: 6.352 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.4898, allocations: 0.5907 MB / 1.445 GB, free: 5.758 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.4921, allocations: 1.708 MB / 1.446 GB, free: 4.043 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4921, allocations: 0 / 1.446 GB, free: 4.043 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4921, allocations: 0 / 1.446 GB, free: 4.043 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.4921, allocations: 0 / 1.446 GB, free: 4.043 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.002777/0.4949, allocations: 1.451 MB / 1.448 GB, free: 2.559 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4949, allocations: 12.03 kB / 1.448 GB, free: 2.547 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.4951, allocations: 143.6 kB / 1.448 GB, free: 2.398 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.4969, allocations: 283.9 kB / 1.448 GB, free: 2.121 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.4982, allocations: 0.7258 MB / 1.449 GB, free: 1.367 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.4982, allocations: 65.98 kB / 1.449 GB, free: 1.301 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.4983, allocations: 84 kB / 1.449 GB, free: 1.219 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.5002, allocations: 0.9911 MB / 1.45 GB, free: 184 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.5002, allocations: 3.938 kB / 1.45 GB, free: 180 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.5003, allocations: 39.98 kB / 1.45 GB, free: 140 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.5003, allocations: 20 kB / 1.45 GB, free: 120 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.5024, allocations: 1.163 MB / 1.451 GB, free: 14.95 MB / 1.154 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.004704/0.5071, allocations: 2.971 MB / 1.454 GB, free: 11.86 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.5089, allocations: 0.8221 MB / 1.455 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.5095, allocations: 294.7 kB / 1.455 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.223e-05/0.5095, allocations: 24.61 kB / 1.455 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009234/0.5105, allocations: 0.5042 MB / 1.456 GB, free: 10.18 MB / 1.154 GB Notification: Performance of pre-optimization done (n=83): time 2.345e-06/0.5105, allocations: 0 / 1.456 GB, free: 10.18 MB / 1.154 GB Notification: Performance of matching and sorting (n=83): time 0.003342/0.5138, allocations: 1.154 MB / 1.457 GB, free: 9.023 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.5139, allocations: 204.9 kB / 1.457 GB, free: 8.781 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/0.5149, allocations: 0.6567 MB / 1.458 GB, free: 8.113 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.735e-05/0.515, allocations: 49.64 kB / 1.458 GB, free: 8.059 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.5154, allocations: 417 kB / 1.458 GB, free: 7.645 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.5156, allocations: 289.5 kB / 1.459 GB, free: 7.359 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.5159, allocations: 150.6 kB / 1.459 GB, free: 7.203 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.5161, allocations: 394.7 kB / 1.459 GB, free: 6.809 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.5166, allocations: 249.9 kB / 1.459 GB, free: 6.566 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/0.5174, allocations: 385.1 kB / 1.46 GB, free: 6.156 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5186, allocations: 0.6267 MB / 1.46 GB, free: 5.508 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5186, allocations: 4 kB / 1.46 GB, free: 5.504 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002186/0.5208, allocations: 0.8374 MB / 1.461 GB, free: 4.656 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5208, allocations: 4 kB / 1.461 GB, free: 4.652 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5208, allocations: 0 / 1.461 GB, free: 4.652 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.5215, allocations: 88.95 kB / 1.461 GB, free: 4.562 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.5222, allocations: 159.7 kB / 1.461 GB, free: 4.406 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.5247, allocations: 1.529 MB / 1.463 GB, free: 2.758 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.5255, allocations: 91.47 kB / 1.463 GB, free: 2.668 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.5256, allocations: 39.98 kB / 1.463 GB, free: 2.629 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: 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.0005274/0.5261, allocations: 277.8 kB / 1.463 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.5263, allocations: 87.44 kB / 1.463 GB, free: 2.262 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.5288, allocations: 1.089 MB / 1.464 GB, free: 1.16 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.5288, allocations: 12 kB / 1.464 GB, free: 1.148 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.5288, allocations: 3.938 kB / 1.464 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5288, allocations: 3.984 kB / 1.464 GB, free: 1.141 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.5328, allocations: 2.087 MB / 1.466 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5328, allocations: 0 / 1.466 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.5334, allocations: 147.8 kB / 1.467 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.5338, allocations: 76.78 kB / 1.467 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.5339, allocations: 23.98 kB / 1.467 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.5361, allocations: 1.566 MB / 1.468 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5361, allocations: 3.938 kB / 1.468 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.5384, allocations: 1.014 MB / 1.469 GB, free: 12.02 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.5389, allocations: 203 kB / 1.469 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.539, allocations: 23.98 kB / 1.469 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/0.5397, allocations: 63.94 kB / 1.469 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.5398, allocations: 84.73 kB / 1.47 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/0.5399, allocations: 31.97 kB / 1.47 GB, free: 11.62 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006864/0.5406, allocations: 479 kB / 1.47 GB, free: 11.16 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5406, allocations: 4 kB / 1.47 GB, free: 11.15 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009232/0.5415, allocations: 331.1 kB / 1.47 GB, free: 10.83 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.004211/0.5457, allocations: 2.079 MB / 1.472 GB, free: 8.902 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001778/0.5475, allocations: 0.7925 MB / 1.473 GB, free: 8.098 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5475, allocations: 3.938 kB / 1.473 GB, free: 8.094 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009946/0.5485, allocations: 0.4963 MB / 1.474 GB, free: 7.586 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.55, allocations: 322.5 kB / 1.474 GB, free: 7.293 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.5612, allocations: 6.436 MB / 1.48 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.5621, allocations: 1.039 MB / 1.481 GB, free: 15.62 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008761/0.563, allocations: 263 kB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.5636, allocations: 403.3 kB / 1.482 GB, free: 14.96 MB / 1.186 GB Notification: Performance of SimCode: time 1.092e-06/0.5636, allocations: 0 / 1.482 GB, free: 14.96 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09254/0.6561, allocations: 23.29 MB / 1.505 GB, free: 7.918 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.62, allocations: 9.875 kB / 1.505 GB, free: 7.91 MB / 1.201 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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.140856401000747]