Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001283/0.001283, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001441/0.001441, allocations: 219 kB / 22.26 MB, free: 5.125 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.105/3.105, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_12_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.002001/0.002001, allocations: 61.66 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01102/0.3456, allocations: 8.55 MB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.5283, allocations: 155.3 MB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.53, allocations: 31.75 kB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.5315, allocations: 336.6 kB / 1.486 GB, free: 13.1 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.5351, allocations: 0.8762 MB / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.5386, allocations: 1.414 MB / 1.489 GB, free: 10.82 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004691/0.5433, allocations: 3.021 MB / 1.491 GB, free: 7.785 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.5454, allocations: 1.012 MB / 1.492 GB, free: 6.711 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.5475, allocations: 1.254 MB / 1.494 GB, free: 5.453 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.5501, allocations: 1.35 MB / 1.495 GB, free: 4.098 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007109/0.5508, allocations: 332 kB / 1.495 GB, free: 3.773 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.5525, allocations: 0.7378 MB / 1.496 GB, free: 3.035 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007791/0.5533, allocations: 0.705 MB / 1.497 GB, free: 2.328 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.5552, allocations: 1.341 MB / 1.498 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005398/0.5606, allocations: 3.725 MB / 1.502 GB, free: 13.24 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.5606, allocations: 4 kB / 1.502 GB, free: 13.24 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5606, allocations: 0 / 1.502 GB, free: 13.24 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.113e-05/0.5607, allocations: 0 / 1.502 GB, free: 13.24 MB / 1.201 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.007583/0.5683, allocations: 2.86 MB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5683, allocations: 8.031 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004103/0.5687, allocations: 316.9 kB / 1.505 GB, free: 9.988 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/0.5862, allocations: 2.309 MB / 1.507 GB, free: 7.676 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/0.5891, allocations: 1.242 MB / 1.508 GB, free: 6.398 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.5893, allocations: 168.5 kB / 1.508 GB, free: 6.23 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000516/0.5898, allocations: 220 kB / 1.509 GB, free: 6.016 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008821/0.5986, allocations: 3.274 MB / 1.512 GB, free: 2.648 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.5986, allocations: 4 kB / 1.512 GB, free: 2.645 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.5989, allocations: 96 kB / 1.512 GB, free: 2.551 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.5989, allocations: 52 kB / 1.512 GB, free: 2.5 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.6121, allocations: 4.205 MB / 1.516 GB, free: 14.28 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.6308, allocations: 8.068 MB / 1.524 GB, free: 5.91 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009454/0.6403, allocations: 2.712 MB / 1.527 GB, free: 3.184 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.6451, allocations: 1.353 MB / 1.528 GB, free: 1.828 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006831/0.6458, allocations: 129.9 kB / 1.528 GB, free: 1.703 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005539/0.6514, allocations: 1.848 MB / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of pre-optimization done (n=213): time 4.568e-06/0.6514, allocations: 0 / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of matching and sorting (n=213): time 0.01541/0.6668, allocations: 4.407 MB / 1.534 GB, free: 11.42 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.6669, allocations: 205.9 kB / 1.534 GB, free: 11.18 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.6684, allocations: 0.9736 MB / 1.535 GB, free: 10.18 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004468/0.6688, allocations: 61.7 kB / 1.535 GB, free: 10.12 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/0.6695, allocations: 0.7718 MB / 1.536 GB, free: 9.336 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008753/0.6704, allocations: 0.7126 MB / 1.537 GB, free: 8.617 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007052/0.6711, allocations: 375.3 kB / 1.537 GB, free: 8.246 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6712, allocations: 305.1 kB / 1.537 GB, free: 7.945 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004146/0.6754, allocations: 1.237 MB / 1.539 GB, free: 6.707 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00463/0.68, allocations: 1.437 MB / 1.54 GB, free: 5.23 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008926/0.6889, allocations: 2.587 MB / 1.543 GB, free: 2.625 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.6889, allocations: 0 / 1.543 GB, free: 2.625 MB / 1.232 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01111/0.7, allocations: 3.093 MB / 1.546 GB, free: 15.52 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.7001, allocations: 4.109 kB / 1.546 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.7001, allocations: 3.938 kB / 1.546 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/0.7007, allocations: 96.77 kB / 1.546 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/0.7046, allocations: 0.5851 MB / 1.546 GB, free: 14.82 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.7069, allocations: 1.542 MB / 1.548 GB, free: 13.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/0.7103, allocations: 358.6 kB / 1.548 GB, free: 12.81 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/0.7107, allocations: 95.89 kB / 1.548 GB, free: 12.72 MB / 1.248 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.00113/0.7118, allocations: 434.5 kB / 1.549 GB, free: 12.29 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004901/0.7123, allocations: 170.9 kB / 1.549 GB, free: 12.12 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.7241, allocations: 3.716 MB / 1.552 GB, free: 8.383 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.7241, allocations: 24 kB / 1.552 GB, free: 8.359 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.7241, allocations: 0 / 1.552 GB, free: 8.359 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-05/0.7242, allocations: 11.95 kB / 1.552 GB, free: 8.348 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.7281, allocations: 2.451 MB / 1.555 GB, free: 5.863 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.7281, allocations: 7.875 kB / 1.555 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003679/0.7318, allocations: 0.5617 MB / 1.555 GB, free: 5.293 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.7323, allocations: 76.78 kB / 1.555 GB, free: 5.215 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/0.7326, allocations: 71.91 kB / 1.556 GB, free: 5.145 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.7346, allocations: 1.559 MB / 1.557 GB, free: 3.465 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7346, allocations: 7.969 kB / 1.557 GB, free: 3.457 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.7451, allocations: 3.219 MB / 1.56 GB, free: 216 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/0.7465, allocations: 492 kB / 1.561 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/0.7469, allocations: 51.89 kB / 1.561 GB, free: 15.68 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/0.7498, allocations: 270.1 kB / 1.561 GB, free: 15.42 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.7501, allocations: 157.7 kB / 1.561 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/0.7503, allocations: 91.91 kB / 1.561 GB, free: 15.18 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001068/0.7514, allocations: 0.7275 MB / 1.562 GB, free: 14.44 MB / 1.264 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7514, allocations: 0 / 1.562 GB, free: 14.44 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001795/0.7532, allocations: 0.678 MB / 1.563 GB, free: 13.76 MB / 1.264 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.0126/0.7658, allocations: 4.348 MB / 1.567 GB, free: 9.566 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.7761, allocations: 2.999 MB / 1.57 GB, free: 6.555 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7761, allocations: 0 / 1.57 GB, free: 6.555 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005615/0.7817, allocations: 1.63 MB / 1.571 GB, free: 4.914 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.7837, allocations: 400.3 kB / 1.572 GB, free: 4.543 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04182/0.8255, allocations: 15.97 MB / 1.587 GB, free: 4.355 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.8266, allocations: 1.434 MB / 1.589 GB, free: 2.883 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003004/0.8296, allocations: 0.5991 MB / 1.589 GB, free: 2.277 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/0.8316, allocations: 0.8818 MB / 1.59 GB, free: 1.395 MB / 1.279 GB Notification: Performance of SimCode: time 8.81e-07/0.8316, allocations: 0 / 1.59 GB, free: 1.395 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7076/1.539, allocations: 44.79 MB / 1.634 GB, free: 268.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/17.14, allocations: 10.81 kB / 1.634 GB, free: 268.5 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.979504068000097]