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.007738/0.007739, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001698/0.001698, allocations: 195.1 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 1.327/1.327, 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 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7039, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00933/0.7133, allocations: 8.466 MB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.8613, allocations: 151.8 MB / 1.323 GB, free: 2.824 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.8627, allocations: 23.94 kB / 1.323 GB, free: 2.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.8638, allocations: 328.6 kB / 1.323 GB, free: 2.477 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.8664, allocations: 0.852 MB / 1.324 GB, free: 1.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.8692, allocations: 1.403 MB / 1.325 GB, free: 232 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.8724, allocations: 2.994 MB / 1.328 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.8743, allocations: 1.488 MB / 1.33 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.8758, allocations: 1.199 MB / 1.331 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.8774, allocations: 1.35 MB / 1.332 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004803/0.8779, allocations: 328 kB / 1.332 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.8791, allocations: 0.6988 MB / 1.333 GB, free: 8.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.8796, allocations: 0.701 MB / 1.334 GB, free: 7.387 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.8807, allocations: 1.341 MB / 1.335 GB, free: 6.039 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.884, allocations: 3.683 MB / 1.339 GB, free: 2.344 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.884, allocations: 0 / 1.339 GB, free: 2.344 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/0.884, allocations: 0 / 1.339 GB, free: 2.344 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.864e-05/0.8841, allocations: 0 / 1.339 GB, free: 2.344 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.0056/0.8897, allocations: 2.899 MB / 1.341 GB, free: 15.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.8897, allocations: 12.92 kB / 1.341 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003387/0.8901, allocations: 312.9 kB / 1.342 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.9049, allocations: 2.121 MB / 1.344 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.9076, allocations: 1.296 MB / 1.345 GB, free: 11.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.9078, allocations: 168.5 kB / 1.345 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/0.9082, allocations: 220 kB / 1.346 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008173/0.9164, allocations: 3.29 MB / 1.349 GB, free: 7.801 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.9164, allocations: 0 / 1.349 GB, free: 7.801 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.9167, allocations: 92 kB / 1.349 GB, free: 7.711 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.9167, allocations: 52 kB / 1.349 GB, free: 7.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.9293, allocations: 4.209 MB / 1.353 GB, free: 3.434 MB / 1.076 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.01577/0.9451, allocations: 8.047 MB / 1.361 GB, free: 11.11 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009218/0.9543, allocations: 2.888 MB / 1.364 GB, free: 8.227 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004571/0.9589, allocations: 1.489 MB / 1.365 GB, free: 6.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008672/0.9598, allocations: 0.5071 MB / 1.366 GB, free: 6.133 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005549/0.9654, allocations: 1.844 MB / 1.367 GB, free: 4.27 MB / 1.092 GB Notification: Performance of pre-optimization done (n=213): time 7.444e-06/0.9654, allocations: 4 kB / 1.367 GB, free: 4.266 MB / 1.092 GB Notification: Performance of matching and sorting (n=213): time 0.01517/0.9806, allocations: 4.471 MB / 1.372 GB, free: 15.77 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.9807, allocations: 209.9 kB / 1.372 GB, free: 15.52 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.9821, allocations: 0.9413 MB / 1.373 GB, free: 14.55 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.9824, allocations: 69.7 kB / 1.373 GB, free: 14.48 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005907/0.983, allocations: 0.7641 MB / 1.374 GB, free: 13.71 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006024/0.9836, allocations: 0.7086 MB / 1.374 GB, free: 13 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000799/0.9844, allocations: 383.3 kB / 1.375 GB, free: 12.62 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.9845, allocations: 305.1 kB / 1.375 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00423/0.9887, allocations: 1.237 MB / 1.376 GB, free: 11.08 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/0.9931, allocations: 1.437 MB / 1.378 GB, free: 9.605 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008371/1.001, allocations: 2.583 MB / 1.38 GB, free: 7.004 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.002, allocations: 0 / 1.38 GB, free: 7.004 MB / 1.107 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.009971/1.011, allocations: 3.086 MB / 1.383 GB, free: 3.906 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.012, allocations: 8 kB / 1.383 GB, free: 3.898 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.012, allocations: 0 / 1.383 GB, free: 3.898 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/1.012, allocations: 88.89 kB / 1.383 GB, free: 3.809 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/1.016, allocations: 0.5967 MB / 1.384 GB, free: 3.211 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/1.018, allocations: 1.645 MB / 1.385 GB, free: 1.422 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/1.021, allocations: 370.5 kB / 1.386 GB, free: 1.059 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/1.021, allocations: 95.89 kB / 1.386 GB, free: 0.9648 MB / 1.107 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.0009744/1.022, allocations: 431.6 kB / 1.386 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/1.022, allocations: 163 kB / 1.386 GB, free: 384 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.034, allocations: 3.716 MB / 1.39 GB, free: 12.63 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/1.034, allocations: 24 kB / 1.39 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.034, allocations: 0 / 1.39 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/1.034, allocations: 15.89 kB / 1.39 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/1.038, allocations: 2.46 MB / 1.393 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.038, allocations: 0 / 1.393 GB, free: 10.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/1.041, allocations: 0.5539 MB / 1.393 GB, free: 9.535 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/1.042, allocations: 80.72 kB / 1.393 GB, free: 9.453 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/1.042, allocations: 75.91 kB / 1.393 GB, free: 9.379 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/1.044, allocations: 1.666 MB / 1.395 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.044, allocations: 0 / 1.395 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.054, allocations: 3.223 MB / 1.398 GB, free: 4.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.055, allocations: 0.5499 MB / 1.399 GB, free: 3.75 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.055, allocations: 51.89 kB / 1.399 GB, free: 3.699 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.058, allocations: 271.7 kB / 1.399 GB, free: 3.434 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/1.059, allocations: 153.8 kB / 1.399 GB, free: 3.285 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003025/1.059, allocations: 95.97 kB / 1.399 GB, free: 3.191 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001074/1.06, allocations: 0.6996 MB / 1.4 GB, free: 2.484 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.06, allocations: 3.938 kB / 1.4 GB, free: 2.48 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001847/1.062, allocations: 0.678 MB / 1.4 GB, free: 1.801 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: 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.01174/1.074, allocations: 4.346 MB / 1.405 GB, free: 13.59 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009567/1.083, allocations: 3.139 MB / 1.408 GB, free: 10.45 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.083, allocations: 4.25 kB / 1.408 GB, free: 10.44 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004906/1.088, allocations: 1.747 MB / 1.409 GB, free: 8.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.09, allocations: 399.5 kB / 1.41 GB, free: 8.309 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03859/1.129, allocations: 15.9 MB / 1.425 GB, free: 8.199 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.13, allocations: 1.43 MB / 1.427 GB, free: 6.73 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002901/1.133, allocations: 0.5834 MB / 1.427 GB, free: 6.141 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.134, allocations: 0.8818 MB / 1.428 GB, free: 5.262 MB / 1.154 GB Notification: Performance of SimCode: time 2.194e-06/1.134, allocations: 0 / 1.428 GB, free: 5.262 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07452/1.209, allocations: 42.83 MB / 1.47 GB, free: 10.69 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/15.17, allocations: 12.75 kB / 1.47 GB, free: 10.68 MB / 1.201 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