Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.88 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.5022, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006302/0.5086, allocations: 4.939 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1382/0.6468, allocations: 150.6 MB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007295/0.6475, allocations: 19.94 kB / 1.169 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.6482, allocations: 194.2 kB / 1.17 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.65, allocations: 0.5642 MB / 1.17 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.6518, allocations: 0.8411 MB / 1.171 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.6533, allocations: 1.412 MB / 1.172 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008741/0.6542, allocations: 0.6028 MB / 1.173 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.6548, allocations: 0.4943 MB / 1.173 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.6555, allocations: 0.5186 MB / 1.174 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.6557, allocations: 116 kB / 1.174 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008169/0.6566, allocations: 455.7 kB / 1.174 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.6569, allocations: 303.1 kB / 1.175 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005701/0.6574, allocations: 0.579 MB / 1.175 GB, free: 168 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.6591, allocations: 1.616 MB / 1.177 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6591, allocations: 4 kB / 1.177 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6591, allocations: 0 / 1.177 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.427e-05/0.6591, allocations: 0 / 1.177 GB, free: 14.54 MB / 0.9356 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.002613/0.6618, allocations: 1.458 MB / 1.178 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.6618, allocations: 16.03 kB / 1.178 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.662, allocations: 139.6 kB / 1.178 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.6632, allocations: 231.3 kB / 1.179 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.6642, allocations: 0.7459 MB / 1.179 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.6643, allocations: 66 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.6644, allocations: 84 kB / 1.18 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.6659, allocations: 0.9872 MB / 1.18 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.6659, allocations: 0 / 1.18 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.666, allocations: 36 kB / 1.181 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.666, allocations: 28 kB / 1.181 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.6679, allocations: 1.167 MB / 1.182 GB, free: 9.441 MB / 0.9356 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.003747/0.6716, allocations: 3.04 MB / 1.185 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.6733, allocations: 0.957 MB / 1.186 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.6738, allocations: 310.7 kB / 1.186 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/0.6739, allocations: 28.59 kB / 1.186 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007915/0.6747, allocations: 0.4964 MB / 1.186 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 1.873e-06/0.6747, allocations: 0 / 1.186 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.002863/0.6775, allocations: 1.235 MB / 1.188 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.6776, allocations: 188.9 kB / 1.188 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.6783, allocations: 0.6332 MB / 1.188 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.548e-05/0.6783, allocations: 41.7 kB / 1.188 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.6786, allocations: 416.2 kB / 1.189 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.6788, allocations: 268.2 kB / 1.189 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.679, allocations: 154.5 kB / 1.189 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6791, allocations: 386.8 kB / 1.19 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.6796, allocations: 249.9 kB / 1.19 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.6802, allocations: 393.1 kB / 1.19 GB, free: 380 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6812, allocations: 0.6189 MB / 1.191 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.6812, allocations: 4.062 kB / 1.191 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001713/0.6829, allocations: 0.833 MB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.683, allocations: 8 kB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.683, allocations: 0 / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.6835, allocations: 84.95 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.6841, allocations: 163.8 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.6859, allocations: 1.642 MB / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.6865, allocations: 92.95 kB / 1.194 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.6866, allocations: 39.97 kB / 1.194 GB, free: 12.71 MB / 0.9512 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.0003034/0.6869, allocations: 261.8 kB / 1.194 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.687, allocations: 82.97 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.6892, allocations: 1.089 MB / 1.195 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6893, allocations: 12 kB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.6893, allocations: 7.875 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6893, allocations: 3.984 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.6924, allocations: 2.098 MB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6924, allocations: 0 / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.693, allocations: 159.7 kB / 1.197 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.6934, allocations: 80.77 kB / 1.197 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.6934, allocations: 23.98 kB / 1.197 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.6952, allocations: 1.662 MB / 1.199 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6952, allocations: 4.031 kB / 1.199 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.6971, allocations: 1.016 MB / 1.2 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.6974, allocations: 271.7 kB / 1.2 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6975, allocations: 19.94 kB / 1.2 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/0.6981, allocations: 63.92 kB / 1.2 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.6983, allocations: 80.83 kB / 1.2 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.6984, allocations: 31.98 kB / 1.2 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000502/0.6989, allocations: 467 kB / 1.201 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6989, allocations: 0 / 1.201 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007257/0.6996, allocations: 323.2 kB / 1.201 GB, free: 4.707 MB / 0.9512 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.003321/0.7029, allocations: 2.06 MB / 1.203 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002128/0.7051, allocations: 1.03 MB / 1.204 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7051, allocations: 0 / 1.204 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.706, allocations: 0.5396 MB / 1.205 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.7071, allocations: 322.1 kB / 1.205 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009115/0.7163, allocations: 6.564 MB / 1.211 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/0.7168, allocations: 1.027 MB / 1.212 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007622/0.7176, allocations: 267 kB / 1.213 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.7181, allocations: 395.3 kB / 1.213 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of SimCode: time 2.365e-06/0.7181, allocations: 4 kB / 1.213 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04709/0.7652, allocations: 22.08 MB / 1.235 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.98, allocations: 9.328 kB / 1.235 GB, free: 2.723 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,TBlaSky.TBlaSky,TBlaSkyIrr.TBlaSky Variables in the result:time,TBlaSky.TBlaSky,TBlaSkyIrr.TBlaSky,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor