Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_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.01267/0.01267, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.002479/0.002478, allocations: 192.7 kB / 16.67 MB, free: 5.934 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.213/2.213, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.539/4.539, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 63.91 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361/1.364, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.01319/1.377, allocations: 5.984 MB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2774/1.655, allocations: 150.8 MB / 1.319 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/1.656, allocations: 27.88 kB / 1.319 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/1.658, allocations: 229.7 kB / 1.32 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003824/1.662, allocations: 0.6335 MB / 1.32 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003213/1.665, allocations: 0.8689 MB / 1.321 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003378/1.668, allocations: 1.65 MB / 1.323 GB, free: 2.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/1.67, allocations: 0.8666 MB / 1.323 GB, free: 2.043 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/1.672, allocations: 0.6151 MB / 1.324 GB, free: 1.426 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.673, allocations: 0.6534 MB / 1.325 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000332/1.673, allocations: 156 kB / 1.325 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/1.675, allocations: 0.5152 MB / 1.325 GB, free: 104 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000575/1.676, allocations: 371 kB / 1.326 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/1.677, allocations: 0.7385 MB / 1.326 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004204/1.681, allocations: 2.041 MB / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.681, allocations: 0 / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/1.681, allocations: 0 / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.008e-05/1.681, allocations: 3.938 kB / 1.328 GB, free: 12.95 MB / 1.061 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.005032/1.686, allocations: 1.773 MB / 1.33 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/1.686, allocations: 8.922 kB / 1.33 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003538/1.687, allocations: 177.8 kB / 1.33 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/1.688, allocations: 227.8 kB / 1.331 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/1.691, allocations: 0.8798 MB / 1.331 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/1.691, allocations: 90.41 kB / 1.331 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/1.691, allocations: 116 kB / 1.332 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/1.695, allocations: 1.206 MB / 1.333 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/1.695, allocations: 0 / 1.333 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/1.695, allocations: 52 kB / 1.333 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/1.695, allocations: 35.98 kB / 1.333 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00385/1.699, allocations: 1.277 MB / 1.334 GB, free: 6.93 MB / 1.061 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.009068/1.708, allocations: 3.571 MB / 1.338 GB, free: 3.188 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/1.711, allocations: 0.8611 MB / 1.338 GB, free: 2.324 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009934/1.712, allocations: 322.7 kB / 1.339 GB, free: 2.004 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/1.712, allocations: 32.61 kB / 1.339 GB, free: 1.973 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.714, allocations: 0.5174 MB / 1.339 GB, free: 1.441 MB / 1.061 GB Notification: Performance of pre-optimization done (n=87): time 4.598e-06/1.714, allocations: 0 / 1.339 GB, free: 1.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=87): time 0.005583/1.719, allocations: 1.29 MB / 1.341 GB, free: 124 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/1.719, allocations: 188.9 kB / 1.341 GB, free: 15.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/1.721, allocations: 0.7391 MB / 1.341 GB, free: 15.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1.721, allocations: 41.7 kB / 1.341 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007697/1.722, allocations: 0.5281 MB / 1.342 GB, free: 14.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004313/1.723, allocations: 297.5 kB / 1.342 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/1.723, allocations: 162.6 kB / 1.342 GB, free: 14.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000237/1.723, allocations: 341.9 kB / 1.343 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008511/1.724, allocations: 269.9 kB / 1.343 GB, free: 13.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.725, allocations: 382.5 kB / 1.343 GB, free: 13.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/1.727, allocations: 0.632 MB / 1.344 GB, free: 12.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.727, allocations: 4 kB / 1.344 GB, free: 12.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003587/1.731, allocations: 0.8803 MB / 1.345 GB, free: 11.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.731, allocations: 11.94 kB / 1.345 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.731, allocations: 4.078 kB / 1.345 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009441/1.732, allocations: 76.78 kB / 1.345 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.733, allocations: 171.8 kB / 1.345 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/1.737, allocations: 1.633 MB / 1.347 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/1.738, allocations: 103.5 kB / 1.347 GB, free: 9.426 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.738, allocations: 39.91 kB / 1.347 GB, free: 9.387 MB / 1.076 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.0009235/1.739, allocations: 290.4 kB / 1.347 GB, free: 9.094 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/1.74, allocations: 103.4 kB / 1.347 GB, free: 8.992 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/1.744, allocations: 1.13 MB / 1.348 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/1.744, allocations: 12 kB / 1.348 GB, free: 7.836 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.744, allocations: 0 / 1.348 GB, free: 7.836 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/1.744, allocations: 3.984 kB / 1.348 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/1.746, allocations: 1.048 MB / 1.349 GB, free: 6.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.746, allocations: 3.984 kB / 1.349 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.747, allocations: 155.8 kB / 1.349 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006872/1.748, allocations: 68.8 kB / 1.35 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/1.748, allocations: 35.84 kB / 1.35 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/1.751, allocations: 1.663 MB / 1.351 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.751, allocations: 64 / 1.351 GB, free: 4.664 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003632/1.755, allocations: 0.9908 MB / 1.352 GB, free: 3.656 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007349/1.756, allocations: 296.1 kB / 1.352 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.756, allocations: 19.98 kB / 1.352 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.757, allocations: 67.88 kB / 1.353 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/1.757, allocations: 76.89 kB / 1.353 GB, free: 3.188 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.757, allocations: 35.98 kB / 1.353 GB, free: 3.152 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001226/1.759, allocations: 0.5185 MB / 1.353 GB, free: 2.637 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.21e-07/1.759, allocations: 0 / 1.353 GB, free: 2.637 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001596/1.76, allocations: 386.8 kB / 1.354 GB, free: 2.258 MB / 1.076 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.006817/1.767, allocations: 2.05 MB / 1.356 GB, free: 352 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002987/1.77, allocations: 0.8507 MB / 1.356 GB, free: 15.48 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.77, allocations: 8.188 kB / 1.356 GB, free: 15.48 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/1.772, allocations: 0.5353 MB / 1.357 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.774, allocations: 331.5 kB / 1.357 GB, free: 14.62 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/1.794, allocations: 7.081 MB / 1.364 GB, free: 7.387 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/1.795, allocations: 1.11 MB / 1.365 GB, free: 6.25 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001183/1.796, allocations: 291.6 kB / 1.365 GB, free: 5.961 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.797, allocations: 487.2 kB / 1.366 GB, free: 5.484 MB / 1.092 GB Notification: Performance of SimCode: time 1.412e-06/1.797, allocations: 4 kB / 1.366 GB, free: 5.48 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.928, allocations: 24.16 MB / 1.39 GB, free: 13.57 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.63/19.56, allocations: 3.938 kB / 1.39 GB, free: 13.57 MB / 1.123 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_10_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