Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001819/0.001819, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002537/0.002537, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.721/2.721, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.002061/0.002061, allocations: 66.62 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2784, allocations: 169.9 MB / 1.283 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007891/0.2862, allocations: 5.347 MB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1616/0.4478, allocations: 132.9 MB / 1.418 GB, free: 1.777 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009349/0.4488, allocations: 27.75 kB / 1.418 GB, free: 1.75 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.4496, allocations: 241.7 kB / 1.418 GB, free: 1.512 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.4518, allocations: 0.6517 MB / 1.418 GB, free: 0.8594 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.454, allocations: 0.9009 MB / 1.419 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.4561, allocations: 1.681 MB / 1.421 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.4572, allocations: 0.5738 MB / 1.422 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000977/0.4581, allocations: 0.6384 MB / 1.422 GB, free: 13.03 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.4591, allocations: 0.5908 MB / 1.423 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003482/0.4594, allocations: 156 kB / 1.423 GB, free: 12.28 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.4606, allocations: 0.5192 MB / 1.423 GB, free: 11.76 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004416/0.4611, allocations: 390.7 kB / 1.424 GB, free: 11.38 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008526/0.4619, allocations: 0.6065 MB / 1.424 GB, free: 10.77 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.4646, allocations: 2.097 MB / 1.426 GB, free: 8.664 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4646, allocations: 4 kB / 1.426 GB, free: 8.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.634e-06/0.4646, allocations: 0 / 1.426 GB, free: 8.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.089e-05/0.4647, allocations: 0 / 1.426 GB, free: 8.66 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003397/0.4681, allocations: 1.717 MB / 1.428 GB, free: 6.902 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4681, allocations: 8.031 kB / 1.428 GB, free: 6.895 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.4683, allocations: 185.8 kB / 1.428 GB, free: 6.703 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.4698, allocations: 279.8 kB / 1.429 GB, free: 6.43 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.4713, allocations: 0.8039 MB / 1.429 GB, free: 5.594 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.229e-05/0.4714, allocations: 98.34 kB / 1.429 GB, free: 5.496 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.4715, allocations: 116 kB / 1.43 GB, free: 5.383 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.4736, allocations: 1.457 MB / 1.431 GB, free: 3.801 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.4737, allocations: 0 / 1.431 GB, free: 3.801 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4738, allocations: 52 kB / 1.431 GB, free: 3.75 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.4738, allocations: 28 kB / 1.431 GB, free: 3.723 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.4759, allocations: 1.242 MB / 1.432 GB, free: 2.473 MB / 1.123 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.004748/0.4807, allocations: 2.78 MB / 1.435 GB, free: 15.62 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.4822, allocations: 0.8251 MB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.4828, allocations: 290.7 kB / 1.436 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.832e-05/0.4829, allocations: 28.62 kB / 1.436 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.4839, allocations: 0.6207 MB / 1.437 GB, free: 13.82 MB / 1.139 GB Notification: Performance of pre-optimization done (n=87): time 2.925e-06/0.4839, allocations: 0 / 1.437 GB, free: 13.82 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.003405/0.4873, allocations: 1.211 MB / 1.438 GB, free: 12.6 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.4874, allocations: 200.9 kB / 1.438 GB, free: 12.36 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.4885, allocations: 0.7627 MB / 1.439 GB, free: 11.58 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.4885, allocations: 45.7 kB / 1.439 GB, free: 11.53 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.489, allocations: 0.5359 MB / 1.439 GB, free: 10.98 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.4892, allocations: 293.5 kB / 1.44 GB, free: 10.7 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.4895, allocations: 158.6 kB / 1.44 GB, free: 10.54 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4896, allocations: 337.9 kB / 1.44 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/0.4901, allocations: 273.8 kB / 1.44 GB, free: 9.934 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000752/0.4909, allocations: 0.5069 MB / 1.441 GB, free: 9.367 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.4921, allocations: 0.6359 MB / 1.441 GB, free: 8.723 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4921, allocations: 0 / 1.441 GB, free: 8.723 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001993/0.4941, allocations: 0.8726 MB / 1.442 GB, free: 7.84 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4941, allocations: 7.938 kB / 1.442 GB, free: 7.832 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4941, allocations: 7.938 kB / 1.442 GB, free: 7.824 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/0.4947, allocations: 84.86 kB / 1.442 GB, free: 7.738 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.4954, allocations: 159.8 kB / 1.443 GB, free: 7.582 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.4975, allocations: 1.523 MB / 1.444 GB, free: 5.941 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.4982, allocations: 107.4 kB / 1.444 GB, free: 5.836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.4983, allocations: 27.98 kB / 1.444 GB, free: 5.809 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0005171/0.4988, allocations: 301.5 kB / 1.444 GB, free: 5.504 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.499, allocations: 103.3 kB / 1.445 GB, free: 5.402 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.5014, allocations: 1.13 MB / 1.446 GB, free: 4.254 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.5014, allocations: 8 kB / 1.446 GB, free: 4.246 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5014, allocations: 0 / 1.446 GB, free: 4.246 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5014, allocations: 7.984 kB / 1.446 GB, free: 4.238 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.5026, allocations: 0.899 MB / 1.447 GB, free: 3.297 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5026, allocations: 0 / 1.447 GB, free: 3.297 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.5032, allocations: 155.8 kB / 1.447 GB, free: 3.145 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/0.5037, allocations: 72.78 kB / 1.447 GB, free: 3.07 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.5037, allocations: 31.91 kB / 1.447 GB, free: 3.039 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.5056, allocations: 1.539 MB / 1.448 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5056, allocations: 0 / 1.448 GB, free: 1.379 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.5077, allocations: 1.002 MB / 1.449 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.5081, allocations: 222.9 kB / 1.45 GB, free: 140 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.5083, allocations: 16 kB / 1.45 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/0.5089, allocations: 67.94 kB / 1.45 GB, free: 56 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5091, allocations: 80.84 kB / 1.45 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/0.5091, allocations: 39.98 kB / 1.45 GB, free: 15.94 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000696/0.5098, allocations: 0.5381 MB / 1.45 GB, free: 15.4 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5098, allocations: 0 / 1.45 GB, free: 15.4 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009128/0.5107, allocations: 378.9 kB / 1.451 GB, free: 15.03 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004248/0.515, allocations: 2.087 MB / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.5167, allocations: 0.8235 MB / 1.453 GB, free: 12.29 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5167, allocations: 4 kB / 1.453 GB, free: 12.29 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009521/0.5176, allocations: 0.508 MB / 1.454 GB, free: 11.76 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5189, allocations: 326.8 kB / 1.454 GB, free: 11.47 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.5306, allocations: 7.142 MB / 1.461 GB, free: 4.168 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.5311, allocations: 0.5224 MB / 1.462 GB, free: 3.613 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008781/0.532, allocations: 283.7 kB / 1.462 GB, free: 3.332 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/0.5327, allocations: 487.2 kB / 1.462 GB, free: 2.855 MB / 1.154 GB Notification: Performance of SimCode: time 8.52e-07/0.5327, allocations: 0 / 1.462 GB, free: 2.855 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06423/0.5969, allocations: 26.25 MB / 1.488 GB, free: 8.977 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.31, allocations: 7.922 kB / 1.488 GB, free: 8.969 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable HDifWal.H in file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.964390072971582]