Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.009999/0.009999, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.002282/0.002281, allocations: 195.4 kB / 16.67 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.364/2.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 4.063/4.063, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002972/0.002972, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7822, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007988/0.7902, allocations: 5.963 MB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.9624, allocations: 150.8 MB / 1.373 GB, free: 4.625 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008622/0.9633, allocations: 23.88 kB / 1.373 GB, free: 4.602 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.9641, allocations: 225.7 kB / 1.373 GB, free: 4.379 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.9663, allocations: 0.6363 MB / 1.374 GB, free: 3.742 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.9684, allocations: 0.8701 MB / 1.375 GB, free: 2.879 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.9705, allocations: 1.658 MB / 1.377 GB, free: 1.215 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.9718, allocations: 0.8761 MB / 1.377 GB, free: 308 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.9727, allocations: 0.6034 MB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008547/0.9736, allocations: 0.6611 MB / 1.379 GB, free: 15.03 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.9738, allocations: 156 kB / 1.379 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.9748, allocations: 0.5074 MB / 1.379 GB, free: 14.37 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.9752, allocations: 374.8 kB / 1.38 GB, free: 14 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007667/0.976, allocations: 0.7385 MB / 1.38 GB, free: 13.26 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.9785, allocations: 2.048 MB / 1.382 GB, free: 11.21 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.9786, allocations: 4 kB / 1.382 GB, free: 11.2 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9786, allocations: 0 / 1.382 GB, free: 11.2 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.665e-05/0.9786, allocations: 0 / 1.382 GB, free: 11.2 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003124/0.9817, allocations: 1.757 MB / 1.384 GB, free: 9.391 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9818, allocations: 12.03 kB / 1.384 GB, free: 9.379 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.982, allocations: 177.8 kB / 1.384 GB, free: 9.195 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.983, allocations: 231.8 kB / 1.385 GB, free: 8.969 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.9844, allocations: 0.8682 MB / 1.385 GB, free: 8.055 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.581e-05/0.9845, allocations: 94.41 kB / 1.385 GB, free: 7.961 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.9847, allocations: 123.9 kB / 1.386 GB, free: 7.84 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.9869, allocations: 1.202 MB / 1.387 GB, free: 6.574 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.9869, allocations: 0 / 1.387 GB, free: 6.574 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.987, allocations: 55.94 kB / 1.387 GB, free: 6.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.9871, allocations: 32 kB / 1.387 GB, free: 6.488 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.9893, allocations: 1.285 MB / 1.388 GB, free: 5.195 MB / 1.107 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.005426/0.9948, allocations: 3.556 MB / 1.392 GB, free: 1.465 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.9965, allocations: 0.8589 MB / 1.392 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.9971, allocations: 330.7 kB / 1.393 GB, free: 276 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-05/0.9972, allocations: 32.59 kB / 1.393 GB, free: 244 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009863/0.9982, allocations: 0.5135 MB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/0.9982, allocations: 3.938 kB / 1.393 GB, free: 15.71 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.003591/1.002, allocations: 1.283 MB / 1.394 GB, free: 14.4 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.002, allocations: 200.9 kB / 1.395 GB, free: 14.16 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.003, allocations: 0.7314 MB / 1.395 GB, free: 13.42 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/1.003, allocations: 45.69 kB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/1.004, allocations: 0.532 MB / 1.396 GB, free: 12.83 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/1.004, allocations: 293.5 kB / 1.396 GB, free: 12.54 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/1.004, allocations: 162.5 kB / 1.396 GB, free: 12.38 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.004, allocations: 338 kB / 1.397 GB, free: 12.04 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/1.005, allocations: 274 kB / 1.397 GB, free: 11.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/1.006, allocations: 386.5 kB / 1.397 GB, free: 11.37 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.007, allocations: 0.6359 MB / 1.398 GB, free: 10.72 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.007, allocations: 0 / 1.398 GB, free: 10.72 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002204/1.009, allocations: 0.8842 MB / 1.399 GB, free: 9.824 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.009, allocations: 11.94 kB / 1.399 GB, free: 9.812 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.009, allocations: 64 / 1.399 GB, free: 9.812 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/1.01, allocations: 84.86 kB / 1.399 GB, free: 9.727 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/1.011, allocations: 163.8 kB / 1.399 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/1.013, allocations: 1.626 MB / 1.401 GB, free: 7.793 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/1.014, allocations: 103.4 kB / 1.401 GB, free: 7.691 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/1.014, allocations: 35.92 kB / 1.401 GB, free: 7.656 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (96): * Single equations (assignments): 95 * 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.0005413/1.014, allocations: 298.2 kB / 1.401 GB, free: 7.355 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/1.014, allocations: 99.34 kB / 1.401 GB, free: 7.258 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/1.017, allocations: 1.13 MB / 1.402 GB, free: 6.121 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.017, allocations: 8 kB / 1.402 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.017, allocations: 0 / 1.402 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.017, allocations: 3.984 kB / 1.402 GB, free: 6.109 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/1.019, allocations: 1.064 MB / 1.403 GB, free: 4.996 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.019, allocations: 0 / 1.403 GB, free: 4.996 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000658/1.019, allocations: 155.8 kB / 1.403 GB, free: 4.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/1.02, allocations: 68.78 kB / 1.404 GB, free: 4.773 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/1.02, allocations: 31.92 kB / 1.404 GB, free: 4.742 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/1.022, allocations: 1.663 MB / 1.405 GB, free: 2.926 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.022, allocations: 0 / 1.405 GB, free: 2.926 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.024, allocations: 0.9946 MB / 1.406 GB, free: 1.914 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/1.025, allocations: 296.1 kB / 1.406 GB, free: 1.605 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/1.025, allocations: 16 kB / 1.406 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/1.026, allocations: 69.58 kB / 1.407 GB, free: 1.523 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.026, allocations: 72.91 kB / 1.407 GB, free: 1.449 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/1.026, allocations: 39.97 kB / 1.407 GB, free: 1.41 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007761/1.027, allocations: 0.5185 MB / 1.407 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.405e-06/1.027, allocations: 0 / 1.407 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009589/1.028, allocations: 386.8 kB / 1.408 GB, free: 0.5156 MB / 1.123 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.004482/1.032, allocations: 2.039 MB / 1.41 GB, free: 14.63 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001992/1.034, allocations: 0.8585 MB / 1.41 GB, free: 13.75 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.034, allocations: 0 / 1.41 GB, free: 13.75 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.035, allocations: 0.5511 MB / 1.411 GB, free: 13.2 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/1.037, allocations: 343.9 kB / 1.411 GB, free: 12.88 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.05, allocations: 7.058 MB / 1.418 GB, free: 5.664 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000887/1.051, allocations: 1.115 MB / 1.419 GB, free: 4.523 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009763/1.052, allocations: 295.5 kB / 1.419 GB, free: 4.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007526/1.052, allocations: 479.2 kB / 1.42 GB, free: 3.762 MB / 1.139 GB Notification: Performance of SimCode: time 8.22e-07/1.052, allocations: 0 / 1.42 GB, free: 3.762 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09188/1.144, allocations: 24.14 MB / 1.444 GB, free: 11.99 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.35/19.49, allocations: 13.8 kB / 1.444 GB, free: 11.98 MB / 1.17 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 Error: Could not read variable HDifWal.H in file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " Variables in the reference:time,HDifRoo.H,HDifWal.H,HDifFlo.H Variables in the result:time,HDifFlo.H,HDifFlo.add.u1,HDifFlo.add.u2,HDifRoo.H,HDifRoo.add.u1