Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.DiffusePerez,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_11_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.001309/0.001309, allocations: 112.5 kB / 15.73 MB, free: 76 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.001232/0.001232, allocations: 193.8 kB / 16.67 MB, free: 6.574 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.91 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2839, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01006/0.294, allocations: 8.413 MB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8086/1.103, allocations: 151.8 MB / 1.377 GB, free: 7.621 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/1.104, allocations: 23.78 kB / 1.377 GB, free: 7.613 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/1.105, allocations: 326.6 kB / 1.377 GB, free: 7.395 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003017/1.108, allocations: 0.8519 MB / 1.378 GB, free: 6.859 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/1.111, allocations: 1.381 MB / 1.379 GB, free: 6.094 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004016/1.115, allocations: 3 MB / 1.382 GB, free: 4.418 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/1.118, allocations: 1.486 MB / 1.384 GB, free: 3.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/1.12, allocations: 1.186 MB / 1.385 GB, free: 2.789 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002329/1.122, allocations: 1.343 MB / 1.386 GB, free: 1.812 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007452/1.123, allocations: 325.1 kB / 1.386 GB, free: 1.812 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/1.124, allocations: 0.7136 MB / 1.387 GB, free: 1.609 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009092/1.125, allocations: 0.6946 MB / 1.388 GB, free: 1.016 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/1.127, allocations: 1.344 MB / 1.389 GB, free: 8 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004836/1.132, allocations: 3.678 MB / 1.393 GB, free: 13.23 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.132, allocations: 0 / 1.393 GB, free: 13.23 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.947e-06/1.132, allocations: 5.109 kB / 1.393 GB, free: 13.23 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001038/1.132, allocations: 0 / 1.393 GB, free: 13.23 MB / 1.092 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.006918/1.139, allocations: 2.898 MB / 1.395 GB, free: 11.13 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.139, allocations: 10.47 kB / 1.395 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003997/1.14, allocations: 318.7 kB / 1.396 GB, free: 10.88 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/1.156, allocations: 2.124 MB / 1.398 GB, free: 9.914 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/1.158, allocations: 1.298 MB / 1.399 GB, free: 8.852 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/1.159, allocations: 168.8 kB / 1.399 GB, free: 8.773 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/1.159, allocations: 213.3 kB / 1.399 GB, free: 8.707 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008874/1.168, allocations: 3.286 MB / 1.403 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/1.168, allocations: 0 / 1.403 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/1.168, allocations: 94.06 kB / 1.403 GB, free: 6.656 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/1.168, allocations: 53.34 kB / 1.403 GB, free: 6.656 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/1.181, allocations: 4.207 MB / 1.407 GB, free: 4.621 MB / 1.092 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.01541/1.196, allocations: 8.041 MB / 1.415 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009503/1.206, allocations: 2.885 MB / 1.418 GB, free: 10.78 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/1.21, allocations: 1.488 MB / 1.419 GB, free: 9.289 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007899/1.211, allocations: 0.5112 MB / 1.42 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005237/1.216, allocations: 1.848 MB / 1.421 GB, free: 6.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=213): time 3.327e-06/1.216, allocations: 0 / 1.421 GB, free: 6.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=213): time 0.01583/1.232, allocations: 4.478 MB / 1.426 GB, free: 2.316 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.232, allocations: 205.9 kB / 1.426 GB, free: 2.07 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.234, allocations: 0.9452 MB / 1.427 GB, free: 1.105 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/1.234, allocations: 61.7 kB / 1.427 GB, free: 1.039 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006324/1.235, allocations: 0.764 MB / 1.428 GB, free: 272 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006924/1.235, allocations: 0.7167 MB / 1.428 GB, free: 15.54 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007665/1.236, allocations: 383.3 kB / 1.429 GB, free: 15.16 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.236, allocations: 301.1 kB / 1.429 GB, free: 14.86 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00441/1.241, allocations: 1.237 MB / 1.43 GB, free: 13.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004712/1.245, allocations: 1.429 MB / 1.432 GB, free: 12.16 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008927/1.254, allocations: 2.594 MB / 1.434 GB, free: 9.547 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.254, allocations: 0 / 1.434 GB, free: 9.547 MB / 1.123 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.0105/1.265, allocations: 3.082 MB / 1.437 GB, free: 6.457 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.265, allocations: 8 kB / 1.437 GB, free: 6.449 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.265, allocations: 5.25 kB / 1.437 GB, free: 6.449 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/1.266, allocations: 88.77 kB / 1.437 GB, free: 6.359 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.269, allocations: 0.589 MB / 1.438 GB, free: 5.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.271, allocations: 1.644 MB / 1.439 GB, free: 3.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/1.275, allocations: 366.6 kB / 1.44 GB, free: 3.621 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/1.275, allocations: 95.89 kB / 1.44 GB, free: 3.527 MB / 1.123 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.0009064/1.276, allocations: 439.6 kB / 1.44 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/1.276, allocations: 159 kB / 1.44 GB, free: 2.934 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.288, allocations: 3.717 MB / 1.444 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/1.288, allocations: 24 kB / 1.444 GB, free: 15.18 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.288, allocations: 0 / 1.444 GB, free: 15.18 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/1.288, allocations: 11.95 kB / 1.444 GB, free: 15.16 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/1.292, allocations: 2.471 MB / 1.446 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.292, allocations: 0 / 1.446 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003624/1.295, allocations: 0.5616 MB / 1.447 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/1.296, allocations: 76.78 kB / 1.447 GB, free: 12.01 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/1.296, allocations: 75.91 kB / 1.447 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/1.298, allocations: 1.666 MB / 1.449 GB, free: 10.13 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.298, allocations: 3.938 kB / 1.449 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/1.308, allocations: 3.223 MB / 1.452 GB, free: 6.875 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008942/1.309, allocations: 0.5538 MB / 1.452 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/1.31, allocations: 51.88 kB / 1.453 GB, free: 6.25 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.313, allocations: 273.2 kB / 1.453 GB, free: 5.984 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/1.313, allocations: 149.8 kB / 1.453 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.313, allocations: 91.91 kB / 1.453 GB, free: 5.75 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009689/1.314, allocations: 0.7075 MB / 1.454 GB, free: 5.035 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.71e-07/1.314, allocations: 0 / 1.454 GB, free: 5.035 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001632/1.316, allocations: 0.6741 MB / 1.454 GB, free: 4.359 MB / 1.139 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.01265/1.328, allocations: 4.34 MB / 1.459 GB, free: 180 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009902/1.338, allocations: 3.132 MB / 1.462 GB, free: 13.03 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.338, allocations: 256 / 1.462 GB, free: 13.03 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005198/1.344, allocations: 1.759 MB / 1.463 GB, free: 11.26 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.345, allocations: 392.9 kB / 1.464 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04031/1.386, allocations: 15.91 MB / 1.479 GB, free: 10.77 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.387, allocations: 1.43 MB / 1.481 GB, free: 9.305 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00269/1.389, allocations: 0.5757 MB / 1.481 GB, free: 8.723 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00173/1.391, allocations: 0.8818 MB / 1.482 GB, free: 7.84 MB / 1.17 GB Notification: Performance of SimCode: time 7.32e-07/1.391, allocations: 0 / 1.482 GB, free: 7.84 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0885/1.48, allocations: 42.83 MB / 1.524 GB, free: 13.39 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.8/22.28, allocations: 15.72 kB / 1.524 GB, free: 13.38 MB / 1.217 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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