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.001773/0.001773, allocations: 103.6 kB / 18.95 MB, free: 2.652 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.002102/0.002102, allocations: 217.6 kB / 22.25 MB, free: 5.266 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.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 3.036/3.036, allocations: 0.49 GB / 0.7951 GB, free: 35.58 MB / 0.6231 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_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.001967/0.001967, allocations: 70.2 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3192, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006495/0.3257, allocations: 4.491 MB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.493, allocations: 132.7 MB / 1.46 GB, free: 7.742 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009737/0.494, allocations: 23.81 kB / 1.46 GB, free: 7.719 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.4947, allocations: 198.2 kB / 1.46 GB, free: 7.523 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.4967, allocations: 0.5776 MB / 1.461 GB, free: 6.949 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.499, allocations: 0.879 MB / 1.461 GB, free: 6.074 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.5009, allocations: 1.455 MB / 1.463 GB, free: 4.613 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008126/0.5017, allocations: 422.1 kB / 1.463 GB, free: 4.176 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008357/0.5025, allocations: 0.5294 MB / 1.464 GB, free: 3.645 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006813/0.5032, allocations: 0.5251 MB / 1.464 GB, free: 3.117 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.5034, allocations: 120 kB / 1.464 GB, free: 3 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009788/0.5044, allocations: 0.4957 MB / 1.465 GB, free: 2.504 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.5047, allocations: 307 kB / 1.465 GB, free: 2.203 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.5051, allocations: 477.7 kB / 1.466 GB, free: 1.734 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.5073, allocations: 1.724 MB / 1.467 GB, free: 4 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5073, allocations: 0 / 1.467 GB, free: 4 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5073, allocations: 0 / 1.467 GB, free: 4 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.5073, allocations: 0 / 1.467 GB, free: 4 kB / 1.154 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.002681/0.51, allocations: 1.459 MB / 1.469 GB, free: 14.51 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.51, allocations: 12.03 kB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.5102, allocations: 135.7 kB / 1.469 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.5119, allocations: 295.8 kB / 1.469 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.5132, allocations: 0.7142 MB / 1.47 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.5133, allocations: 66 kB / 1.47 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5134, allocations: 91.94 kB / 1.47 GB, free: 13.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.5152, allocations: 1.234 MB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5153, allocations: 3.938 kB / 1.471 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.5154, allocations: 36 kB / 1.471 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.5154, allocations: 24 kB / 1.471 GB, free: 11.76 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.5173, allocations: 1.128 MB / 1.472 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.5215, allocations: 2.525 MB / 1.475 GB, free: 8.027 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.5232, allocations: 0.8199 MB / 1.476 GB, free: 7.199 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.5238, allocations: 290.7 kB / 1.476 GB, free: 6.914 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.669e-05/0.5238, allocations: 20.62 kB / 1.476 GB, free: 6.895 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.5248, allocations: 0.6046 MB / 1.477 GB, free: 6.25 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 3.066e-06/0.5248, allocations: 0 / 1.477 GB, free: 6.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003169/0.528, allocations: 1.166 MB / 1.478 GB, free: 5.074 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.5281, allocations: 188.9 kB / 1.478 GB, free: 4.848 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.529, allocations: 0.6645 MB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/0.5291, allocations: 41.7 kB / 1.479 GB, free: 4.129 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/0.5295, allocations: 425 kB / 1.479 GB, free: 3.707 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.5298, allocations: 285.6 kB / 1.479 GB, free: 3.426 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.53, allocations: 154.6 kB / 1.479 GB, free: 3.27 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.5302, allocations: 386.8 kB / 1.48 GB, free: 2.883 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.5307, allocations: 257.8 kB / 1.48 GB, free: 2.629 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/0.5314, allocations: 0.5054 MB / 1.48 GB, free: 2.059 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5326, allocations: 0.6189 MB / 1.481 GB, free: 1.422 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5326, allocations: 0 / 1.481 GB, free: 1.422 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001969/0.5345, allocations: 0.849 MB / 1.482 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5345, allocations: 4 kB / 1.482 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5346, allocations: 4 kB / 1.482 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.5351, allocations: 80.97 kB / 1.482 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.5358, allocations: 167.7 kB / 1.482 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.5379, allocations: 1.53 MB / 1.484 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.5386, allocations: 91.47 kB / 1.484 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.5386, allocations: 31.97 kB / 1.484 GB, free: 14.54 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: 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.0004391/0.5391, allocations: 267 kB / 1.484 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.5392, allocations: 87.44 kB / 1.484 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.5416, allocations: 1.089 MB / 1.485 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.5416, allocations: 12 kB / 1.485 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5416, allocations: 4 kB / 1.485 GB, free: 13.06 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.5416, allocations: 11.97 kB / 1.485 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003754/0.5454, allocations: 1.915 MB / 1.487 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5454, allocations: 0 / 1.487 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.546, allocations: 151.7 kB / 1.487 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.5464, allocations: 72.78 kB / 1.487 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.5464, allocations: 27.98 kB / 1.487 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.5483, allocations: 1.535 MB / 1.489 GB, free: 9.172 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5484, allocations: 12 kB / 1.489 GB, free: 9.16 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.5505, allocations: 1.022 MB / 1.49 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.5509, allocations: 207 kB / 1.49 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.551, allocations: 16 kB / 1.49 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.5516, allocations: 71.86 kB / 1.49 GB, free: 7.832 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.5518, allocations: 76.8 kB / 1.49 GB, free: 7.754 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/0.5519, allocations: 39.97 kB / 1.49 GB, free: 7.715 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006095/0.5525, allocations: 479 kB / 1.491 GB, free: 7.254 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5525, allocations: 0 / 1.491 GB, free: 7.254 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008557/0.5533, allocations: 331.2 kB / 1.491 GB, free: 6.93 MB / 1.186 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.004151/0.5575, allocations: 2.119 MB / 1.493 GB, free: 5 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.5591, allocations: 0.7925 MB / 1.494 GB, free: 4.195 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5591, allocations: 4 kB / 1.494 GB, free: 4.191 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.56, allocations: 0.4963 MB / 1.494 GB, free: 3.688 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5613, allocations: 318.9 kB / 1.495 GB, free: 3.391 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.5718, allocations: 6.432 MB / 1.501 GB, free: 12.79 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.5723, allocations: 445 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008705/0.5732, allocations: 275 kB / 1.502 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/0.5737, allocations: 399.3 kB / 1.502 GB, free: 11.66 MB / 1.201 GB Notification: Performance of SimCode: time 6.71e-07/0.5737, allocations: 0 / 1.502 GB, free: 11.66 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/0.6361, allocations: 24.6 MB / 1.526 GB, free: 3.391 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.3, allocations: 13.59 kB / 1.526 GB, free: 3.383 MB / 1.217 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/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: 20.93497323599877]