Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.01171/0.01171, allocations: 97.11 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 194.5 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.524/2.524, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 4.598/4.598, allocations: 437.1 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00299/0.00299, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5128, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01716/0.53, allocations: 8.448 MB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 1.22/1.75, allocations: 151.8 MB / 1.323 GB, free: 7.691 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/1.753, allocations: 20.78 kB / 1.323 GB, free: 7.688 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/1.755, allocations: 330.9 kB / 1.323 GB, free: 7.484 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005308/1.76, allocations: 0.8426 MB / 1.324 GB, free: 7.055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005905/1.766, allocations: 1.386 MB / 1.325 GB, free: 6.828 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00812/1.774, allocations: 2.994 MB / 1.328 GB, free: 5.289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004012/1.778, allocations: 1.488 MB / 1.33 GB, free: 4.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/1.782, allocations: 1.19 MB / 1.331 GB, free: 3.898 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/1.786, allocations: 1.344 MB / 1.332 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001773/1.788, allocations: 327 kB / 1.332 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/1.792, allocations: 0.7048 MB / 1.333 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/1.793, allocations: 0.6942 MB / 1.334 GB, free: 2.609 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003704/1.797, allocations: 1.34 MB / 1.335 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007855/1.805, allocations: 3.682 MB / 1.339 GB, free: 152 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.805, allocations: 1.5 kB / 1.339 GB, free: 152 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/1.805, allocations: 0 / 1.339 GB, free: 152 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001287/1.805, allocations: 0 / 1.339 GB, free: 152 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01178/1.817, allocations: 2.901 MB / 1.341 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.817, allocations: 9.312 kB / 1.341 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009514/1.818, allocations: 314.4 kB / 1.342 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02463/1.843, allocations: 2.124 MB / 1.344 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00495/1.848, allocations: 1.299 MB / 1.345 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/1.848, allocations: 170.9 kB / 1.345 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/1.849, allocations: 217.2 kB / 1.345 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/1.867, allocations: 3.281 MB / 1.349 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.547e-05/1.867, allocations: 9.469 kB / 1.349 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005452/1.867, allocations: 91.09 kB / 1.349 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.926e-05/1.867, allocations: 55.44 kB / 1.349 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/1.891, allocations: 4.203 MB / 1.353 GB, free: 9.59 MB / 1.029 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.03046/1.921, allocations: 8.06 MB / 1.361 GB, free: 3.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/1.934, allocations: 2.879 MB / 1.364 GB, free: 1.902 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009071/1.943, allocations: 1.494 MB / 1.365 GB, free: 1.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/1.944, allocations: 0.506 MB / 1.366 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0108/1.955, allocations: 1.841 MB / 1.367 GB, free: 15.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=213): time 8.586e-06/1.955, allocations: 3.938 kB / 1.367 GB, free: 15.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=213): time 0.02474/1.98, allocations: 4.48 MB / 1.372 GB, free: 13.23 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.98, allocations: 206.3 kB / 1.372 GB, free: 13.01 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/1.982, allocations: 0.9413 MB / 1.373 GB, free: 12.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000558/1.982, allocations: 63.36 kB / 1.373 GB, free: 12.42 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008151/1.983, allocations: 0.7701 MB / 1.374 GB, free: 11.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.984, allocations: 0.7112 MB / 1.374 GB, free: 11.1 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008504/1.985, allocations: 382.6 kB / 1.375 GB, free: 10.87 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.985, allocations: 301.1 kB / 1.375 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004572/1.99, allocations: 1.238 MB / 1.376 GB, free: 9.953 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004975/1.995, allocations: 1.436 MB / 1.378 GB, free: 9.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/2.006, allocations: 2.584 MB / 1.38 GB, free: 7.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/2.006, allocations: 2.906 kB / 1.38 GB, free: 7.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.0169/2.023, allocations: 3.086 MB / 1.383 GB, free: 5.758 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/2.023, allocations: 4 kB / 1.383 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/2.023, allocations: 4 kB / 1.383 GB, free: 5.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008457/2.024, allocations: 84.83 kB / 1.383 GB, free: 5.664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/2.031, allocations: 0.5928 MB / 1.384 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/2.034, allocations: 1.638 MB / 1.385 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/2.04, allocations: 367 kB / 1.386 GB, free: 2.922 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008724/2.041, allocations: 95.89 kB / 1.386 GB, free: 2.828 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.002027/2.043, allocations: 435.6 kB / 1.386 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009277/2.044, allocations: 167 kB / 1.386 GB, free: 2.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02108/2.065, allocations: 3.715 MB / 1.39 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000126/2.065, allocations: 20 kB / 1.39 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/2.065, allocations: 0 / 1.39 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.32e-05/2.066, allocations: 19.95 kB / 1.39 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/2.072, allocations: 2.46 MB / 1.393 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/2.072, allocations: 4 kB / 1.393 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006235/2.079, allocations: 0.5578 MB / 1.393 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/2.079, allocations: 80.72 kB / 1.393 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008849/2.08, allocations: 79.84 kB / 1.393 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/2.084, allocations: 1.654 MB / 1.395 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.084, allocations: 4.062 kB / 1.395 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/2.102, allocations: 3.219 MB / 1.398 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/2.104, allocations: 0.5616 MB / 1.399 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009503/2.105, allocations: 55.83 kB / 1.399 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005199/2.111, allocations: 271.4 kB / 1.399 GB, free: 5.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000731/2.111, allocations: 149.8 kB / 1.399 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006085/2.112, allocations: 95.91 kB / 1.399 GB, free: 5.055 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001766/2.114, allocations: 0.6997 MB / 1.4 GB, free: 4.348 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.6e-07/2.114, allocations: 0 / 1.4 GB, free: 4.348 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003497/2.117, allocations: 0.6741 MB / 1.4 GB, free: 3.672 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.02131/2.139, allocations: 4.342 MB / 1.405 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01771/2.156, allocations: 3.135 MB / 1.408 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/2.156, allocations: 4 kB / 1.408 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.009562/2.166, allocations: 1.755 MB / 1.409 GB, free: 10.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/2.17, allocations: 399.2 kB / 1.41 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07113/2.241, allocations: 15.9 MB / 1.425 GB, free: 10.08 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/2.243, allocations: 1.426 MB / 1.427 GB, free: 8.613 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005658/2.248, allocations: 0.5873 MB / 1.427 GB, free: 8.02 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/2.252, allocations: 0.8779 MB / 1.428 GB, free: 7.141 MB / 1.092 GB Notification: Performance of SimCode: time 1.593e-06/2.252, allocations: 0 / 1.428 GB, free: 7.141 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/2.402, allocations: 42.84 MB / 1.47 GB, free: 12.64 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/19.2, allocations: 6.344 kB / 1.47 GB, free: 12.64 MB / 1.139 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=18316800.000000 File[1]=18230400.000000 " Variables in the reference:time,HDifRoo.H,HDifWal.H,HDifFlo.H Variables in the result:time,HDifFlo.H,HDifRoo.H,HDifWal.H,weaBus.HDifHor,weaBus.HDirNor