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.001931/0.001931, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.002404/0.002404, allocations: 208.3 kB / 19.43 MB, free: 3.645 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.185/3.185, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] 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.002042/0.002042, allocations: 69.92 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.338, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01065/0.3486, allocations: 8.501 MB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1812/0.5298, allocations: 155.2 MB / 1.481 GB, free: 15 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.5314, allocations: 27.81 kB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.5328, allocations: 332.6 kB / 1.481 GB, free: 14.65 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.5362, allocations: 0.8889 MB / 1.482 GB, free: 13.76 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.5398, allocations: 1.388 MB / 1.483 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004171/0.544, allocations: 3.013 MB / 1.486 GB, free: 9.355 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.546, allocations: 1.02 MB / 1.487 GB, free: 8.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002112/0.5481, allocations: 1.25 MB / 1.488 GB, free: 7.016 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.5503, allocations: 1.362 MB / 1.49 GB, free: 5.648 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008478/0.5511, allocations: 328 kB / 1.49 GB, free: 5.328 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.5529, allocations: 0.7378 MB / 1.491 GB, free: 4.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007888/0.5537, allocations: 0.701 MB / 1.491 GB, free: 3.887 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.5554, allocations: 1.345 MB / 1.493 GB, free: 2.535 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004978/0.5603, allocations: 3.721 MB / 1.496 GB, free: 14.8 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5603, allocations: 0 / 1.496 GB, free: 14.8 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5603, allocations: 0 / 1.496 GB, free: 14.8 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.295e-05/0.5604, allocations: 0 / 1.496 GB, free: 14.8 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.007267/0.5677, allocations: 2.941 MB / 1.499 GB, free: 11.78 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5677, allocations: 15.98 kB / 1.499 GB, free: 11.77 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000445/0.5682, allocations: 312.9 kB / 1.5 GB, free: 11.45 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01952/0.5877, allocations: 2.309 MB / 1.502 GB, free: 9.137 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.5906, allocations: 1.314 MB / 1.503 GB, free: 7.773 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.5907, allocations: 168.5 kB / 1.503 GB, free: 7.605 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/0.5912, allocations: 224 kB / 1.503 GB, free: 7.387 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009816/0.601, allocations: 3.274 MB / 1.507 GB, free: 4.02 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.6011, allocations: 0 / 1.507 GB, free: 4.02 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002984/0.6014, allocations: 95.98 kB / 1.507 GB, free: 3.926 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.6014, allocations: 56 kB / 1.507 GB, free: 3.871 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.6157, allocations: 4.205 MB / 1.511 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.6345, allocations: 8.144 MB / 1.519 GB, free: 7.207 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009922/0.6444, allocations: 2.7 MB / 1.522 GB, free: 4.496 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004825/0.6492, allocations: 1.362 MB / 1.523 GB, free: 3.133 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/0.6501, allocations: 0.5074 MB / 1.523 GB, free: 2.535 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005997/0.6561, allocations: 1.847 MB / 1.525 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of pre-optimization done (n=213): time 4.839e-06/0.6561, allocations: 0 / 1.525 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of matching and sorting (n=213): time 0.01813/0.6743, allocations: 4.49 MB / 1.53 GB, free: 12.16 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.6744, allocations: 201.9 kB / 1.53 GB, free: 11.91 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.6763, allocations: 0.9659 MB / 1.531 GB, free: 10.93 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004803/0.6768, allocations: 65.7 kB / 1.531 GB, free: 10.86 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/0.6775, allocations: 0.7717 MB / 1.531 GB, free: 10.08 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.6786, allocations: 0.7126 MB / 1.532 GB, free: 9.359 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/0.6799, allocations: 383.3 kB / 1.533 GB, free: 8.98 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6801, allocations: 301.1 kB / 1.533 GB, free: 8.684 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004804/0.6849, allocations: 1.241 MB / 1.534 GB, free: 7.441 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005094/0.69, allocations: 1.429 MB / 1.535 GB, free: 5.973 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0099/0.6999, allocations: 2.587 MB / 1.538 GB, free: 3.367 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.6999, allocations: 3.938 kB / 1.538 GB, free: 3.363 MB / 1.232 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01207/0.712, allocations: 3.09 MB / 1.541 GB, free: 268 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.712, allocations: 8 kB / 1.541 GB, free: 260 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.712, allocations: 0 / 1.541 GB, free: 260 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006576/0.7126, allocations: 92.83 kB / 1.541 GB, free: 164 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/0.7168, allocations: 0.5851 MB / 1.542 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.7192, allocations: 1.638 MB / 1.543 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/0.7228, allocations: 376.1 kB / 1.544 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005267/0.7233, allocations: 87.91 kB / 1.544 GB, free: 13.34 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.001601/0.7249, allocations: 451.8 kB / 1.544 GB, free: 12.89 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007198/0.7256, allocations: 163 kB / 1.544 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.7395, allocations: 3.716 MB / 1.548 GB, free: 8.992 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.7396, allocations: 23.94 kB / 1.548 GB, free: 8.969 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.7396, allocations: 0 / 1.548 GB, free: 8.969 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.914e-05/0.7396, allocations: 11.95 kB / 1.548 GB, free: 8.957 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/0.7439, allocations: 2.487 MB / 1.55 GB, free: 6.426 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/0.7439, allocations: 3.938 kB / 1.55 GB, free: 6.422 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003991/0.7479, allocations: 0.5578 MB / 1.551 GB, free: 5.863 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005331/0.7485, allocations: 76.78 kB / 1.551 GB, free: 5.785 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004976/0.7489, allocations: 71.91 kB / 1.551 GB, free: 5.715 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.7512, allocations: 1.67 MB / 1.553 GB, free: 3.902 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.7512, allocations: 7.938 kB / 1.553 GB, free: 3.895 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.7635, allocations: 3.215 MB / 1.556 GB, free: 0.6523 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.765, allocations: 0.5538 MB / 1.556 GB, free: 80 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006815/0.7657, allocations: 59.88 kB / 1.556 GB, free: 20 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/0.7691, allocations: 263.7 kB / 1.557 GB, free: 15.76 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/0.7696, allocations: 153.7 kB / 1.557 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/0.77, allocations: 95.91 kB / 1.557 GB, free: 15.52 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00138/0.7714, allocations: 0.7198 MB / 1.558 GB, free: 14.79 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7714, allocations: 0 / 1.558 GB, free: 14.79 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002354/0.7737, allocations: 0.6741 MB / 1.558 GB, free: 14.12 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.01485/0.7886, allocations: 4.346 MB / 1.563 GB, free: 9.918 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.8, allocations: 3.007 MB / 1.565 GB, free: 6.898 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8, allocations: 4.062 kB / 1.565 GB, free: 6.895 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005973/0.806, allocations: 1.622 MB / 1.567 GB, free: 5.262 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.8087, allocations: 391.4 kB / 1.567 GB, free: 4.898 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04782/0.8565, allocations: 15.97 MB / 1.583 GB, free: 4.715 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001608/0.8581, allocations: 1.434 MB / 1.584 GB, free: 3.242 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003506/0.8617, allocations: 0.5991 MB / 1.585 GB, free: 2.637 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/0.8639, allocations: 0.8896 MB / 1.586 GB, free: 1.746 MB / 1.279 GB Notification: Performance of SimCode: time 1.253e-06/0.8639, allocations: 0 / 1.586 GB, free: 1.746 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7013/1.565, allocations: 43.31 MB / 1.628 GB, free: 272.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16.72, allocations: 7.219 kB / 1.628 GB, free: 272.6 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.616562122944742]