Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 208.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.25/3.25, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.23 kB / 1.177 GB, free: 17.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3412, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01092/0.3521, allocations: 8.551 MB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1825/0.5346, allocations: 155.4 MB / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.5369, allocations: 31.81 kB / 1.513 GB, free: 3.891 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.5384, allocations: 332.6 kB / 1.513 GB, free: 3.562 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003883/0.5423, allocations: 0.8744 MB / 1.514 GB, free: 2.688 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.5459, allocations: 1.418 MB / 1.515 GB, free: 1.273 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004767/0.5507, allocations: 3.017 MB / 1.518 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.5528, allocations: 1.012 MB / 1.519 GB, free: 13.17 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.5549, allocations: 1.254 MB / 1.521 GB, free: 11.91 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.5572, allocations: 1.346 MB / 1.522 GB, free: 10.56 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008043/0.558, allocations: 331.9 kB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.5598, allocations: 0.7378 MB / 1.523 GB, free: 9.496 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008294/0.5606, allocations: 0.705 MB / 1.524 GB, free: 8.789 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.5624, allocations: 1.341 MB / 1.525 GB, free: 7.441 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.5677, allocations: 3.725 MB / 1.529 GB, free: 3.703 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5677, allocations: 0 / 1.529 GB, free: 3.703 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5677, allocations: 4 kB / 1.529 GB, free: 3.699 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.000103/0.5678, allocations: 3.938 kB / 1.529 GB, free: 3.695 MB / 1.217 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.007974/0.5757, allocations: 2.849 MB / 1.531 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5758, allocations: 12.03 kB / 1.531 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004515/0.5762, allocations: 320.8 kB / 1.532 GB, free: 460 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04429/0.6205, allocations: 6.906 MB / 1.538 GB, free: 9.535 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.6238, allocations: 1.363 MB / 1.54 GB, free: 8.141 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.624, allocations: 168.5 kB / 1.54 GB, free: 7.973 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007334/0.6247, allocations: 224 kB / 1.54 GB, free: 7.754 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/0.6469, allocations: 5.939 MB / 1.546 GB, free: 1.719 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.552e-05/0.6469, allocations: 8 kB / 1.546 GB, free: 1.711 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000548/0.6475, allocations: 92 kB / 1.546 GB, free: 1.621 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.6476, allocations: 56 kB / 1.546 GB, free: 1.566 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03733/0.6849, allocations: 9.189 MB / 1.555 GB, free: 8.355 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03657/0.7215, allocations: 15.59 MB / 1.57 GB, free: 6.605 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/0.7426, allocations: 5.205 MB / 1.575 GB, free: 1.383 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0164/0.759, allocations: 3.862 MB / 1.579 GB, free: 13.52 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.7593, allocations: 78.14 kB / 1.579 GB, free: 13.44 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01779/0.7771, allocations: 4.47 MB / 1.584 GB, free: 8.949 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 5.511e-06/0.7771, allocations: 0 / 1.584 GB, free: 8.949 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.05113/0.8282, allocations: 11.5 MB / 1.595 GB, free: 13.43 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.8283, allocations: 209.9 kB / 1.595 GB, free: 13.18 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.83, allocations: 0.9697 MB / 1.596 GB, free: 12.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0007987/0.8308, allocations: 69.7 kB / 1.596 GB, free: 12.12 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008362/0.8316, allocations: 0.764 MB / 1.597 GB, free: 11.35 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.8329, allocations: 0.7165 MB / 1.598 GB, free: 10.62 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009842/0.8338, allocations: 395.2 kB / 1.598 GB, free: 10.23 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.834, allocations: 305.1 kB / 1.598 GB, free: 9.934 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01594/0.8499, allocations: 3.735 MB / 1.602 GB, free: 6.195 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0164/0.8663, allocations: 3.943 MB / 1.606 GB, free: 2.211 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6731/1.539, allocations: 6.745 MB / 1.612 GB, free: 252.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.539, allocations: 0.9688 kB / 1.612 GB, free: 252.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03357/1.573, allocations: 7.682 MB / 1.62 GB, free: 251.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.573, allocations: 6.344 kB / 1.62 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.573, allocations: 6.125 kB / 1.62 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/1.574, allocations: 86.11 kB / 1.62 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009338/1.583, allocations: 1.538 MB / 1.621 GB, free: 251.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/1.585, allocations: 1.535 MB / 1.623 GB, free: 249.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008789/1.594, allocations: 1.285 MB / 1.624 GB, free: 249.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006703/1.594, allocations: 105.9 kB / 1.624 GB, free: 249.7 MB / 1.295 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.001305/1.596, allocations: 445.8 kB / 1.625 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/1.596, allocations: 165.3 kB / 1.625 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03428/1.63, allocations: 8.482 MB / 1.633 GB, free: 247.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.631, allocations: 21.84 kB / 1.633 GB, free: 247.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.631, allocations: 5.156 kB / 1.633 GB, free: 247.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-05/1.631, allocations: 15.62 kB / 1.633 GB, free: 247.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/1.636, allocations: 5.222 MB / 1.638 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.636, allocations: 1.188 kB / 1.638 GB, free: 243 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008935/1.645, allocations: 1.512 MB / 1.64 GB, free: 242.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/1.645, allocations: 72.62 kB / 1.64 GB, free: 242.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000595/1.646, allocations: 79.81 kB / 1.64 GB, free: 242.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/1.647, allocations: 1.569 MB / 1.641 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.647, allocations: 1.562 kB / 1.641 GB, free: 241.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03088/1.678, allocations: 7.816 MB / 1.649 GB, free: 239.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.68, allocations: 0.6053 MB / 1.65 GB, free: 239.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005963/1.681, allocations: 59.09 kB / 1.65 GB, free: 239.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007735/1.689, allocations: 1.191 MB / 1.651 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005715/1.689, allocations: 158.7 kB / 1.651 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005619/1.69, allocations: 109.6 kB / 1.651 GB, free: 238.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001222/1.691, allocations: 0.7133 MB / 1.652 GB, free: 238.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.691, allocations: 0 / 1.652 GB, free: 238.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002739/1.694, allocations: 0.7592 MB / 1.653 GB, free: 237.4 MB / 1.295 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.03151/1.725, allocations: 8.924 MB / 1.661 GB, free: 228.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03025/1.755, allocations: 8.014 MB / 1.669 GB, free: 220.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.755, allocations: 4.062 kB / 1.669 GB, free: 220.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01541/1.771, allocations: 4.132 MB / 1.673 GB, free: 216.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.774, allocations: 395.9 kB / 1.673 GB, free: 216.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/1.875, allocations: 30.75 MB / 1.704 GB, free: 185.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/1.876, allocations: 1.442 MB / 1.705 GB, free: 183.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003874/1.88, allocations: 0.7202 MB / 1.706 GB, free: 183 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002104/1.882, allocations: 0.9052 MB / 1.706 GB, free: 182.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.413e-06/1.882, allocations: 0 / 1.706 GB, free: 182.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09148/1.973, allocations: 52.66 MB / 1.758 GB, free: 129.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/17.86, allocations: 0 / 1.758 GB, free: 129.7 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.986075232000076]