Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 106.6 kB / 16.45 MB, free: 6.508 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.001451/0.001451, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.109/3.109, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_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.00201/0.00201, allocations: 65.47 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008379/0.3356, allocations: 6.033 MB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.5204, allocations: 154.2 MB / 1.477 GB, free: 2.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.5216, allocations: 27.75 kB / 1.477 GB, free: 2.453 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.5226, allocations: 245.6 kB / 1.478 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.5252, allocations: 0.6468 MB / 1.478 GB, free: 1.562 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.5278, allocations: 0.8946 MB / 1.479 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.5303, allocations: 1.669 MB / 1.481 GB, free: 15 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.5317, allocations: 0.6043 MB / 1.481 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.5329, allocations: 0.6501 MB / 1.482 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.534, allocations: 0.6651 MB / 1.483 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004577/0.5344, allocations: 156 kB / 1.483 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.536, allocations: 0.5542 MB / 1.483 GB, free: 12.33 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000579/0.5366, allocations: 374.8 kB / 1.484 GB, free: 11.96 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5378, allocations: 0.7501 MB / 1.484 GB, free: 11.21 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.5413, allocations: 2.086 MB / 1.486 GB, free: 9.117 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5413, allocations: 0 / 1.486 GB, free: 9.117 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5413, allocations: 0 / 1.486 GB, free: 9.117 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.687e-05/0.5414, allocations: 0 / 1.486 GB, free: 9.117 MB / 1.186 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.003237/0.5446, allocations: 1.796 MB / 1.488 GB, free: 7.262 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.5446, allocations: 15.98 kB / 1.488 GB, free: 7.246 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.5449, allocations: 181.8 kB / 1.488 GB, free: 7.059 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.5464, allocations: 271.8 kB / 1.489 GB, free: 6.793 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.5479, allocations: 0.8838 MB / 1.489 GB, free: 5.863 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/0.5479, allocations: 90.41 kB / 1.49 GB, free: 5.773 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5481, allocations: 116 kB / 1.49 GB, free: 5.66 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.5502, allocations: 1.198 MB / 1.491 GB, free: 4.398 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.5502, allocations: 0 / 1.491 GB, free: 4.398 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.5503, allocations: 52 kB / 1.491 GB, free: 4.348 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.5504, allocations: 28 kB / 1.491 GB, free: 4.32 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.5526, allocations: 1.285 MB / 1.492 GB, free: 3.027 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005697/0.5583, allocations: 3.725 MB / 1.496 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.56, allocations: 0.8094 MB / 1.497 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.5606, allocations: 294.7 kB / 1.497 GB, free: 13.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.854e-05/0.5607, allocations: 32.59 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009899/0.5617, allocations: 0.5277 MB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=87): time 3.066e-06/0.5617, allocations: 0 / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=87): time 0.003627/0.5653, allocations: 1.286 MB / 1.499 GB, free: 12.1 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.5654, allocations: 192.9 kB / 1.499 GB, free: 11.86 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.5666, allocations: 0.7627 MB / 1.5 GB, free: 11.09 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.632e-05/0.5667, allocations: 41.7 kB / 1.5 GB, free: 11.04 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.5672, allocations: 0.5437 MB / 1.5 GB, free: 10.49 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.5675, allocations: 293.5 kB / 1.5 GB, free: 10.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.5677, allocations: 162.6 kB / 1.501 GB, free: 10.04 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5679, allocations: 334 kB / 1.501 GB, free: 9.707 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000596/0.5685, allocations: 269.9 kB / 1.501 GB, free: 9.445 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.5692, allocations: 382.5 kB / 1.502 GB, free: 9.043 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.5705, allocations: 0.6398 MB / 1.502 GB, free: 8.395 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5705, allocations: 0 / 1.502 GB, free: 8.395 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002227/0.5727, allocations: 0.8803 MB / 1.503 GB, free: 7.504 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5727, allocations: 7.938 kB / 1.503 GB, free: 7.496 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5727, allocations: 4 kB / 1.503 GB, free: 7.492 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.5734, allocations: 80.86 kB / 1.503 GB, free: 7.41 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.5741, allocations: 163.9 kB / 1.503 GB, free: 7.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.5764, allocations: 1.642 MB / 1.505 GB, free: 5.465 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008786/0.5773, allocations: 95.42 kB / 1.505 GB, free: 5.371 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5774, allocations: 35.97 kB / 1.505 GB, free: 5.336 MB / 1.201 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.0006534/0.5781, allocations: 297.6 kB / 1.505 GB, free: 5.035 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.5784, allocations: 103.3 kB / 1.505 GB, free: 4.934 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/0.5813, allocations: 1.134 MB / 1.506 GB, free: 3.785 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.5813, allocations: 8 kB / 1.506 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5813, allocations: 0 / 1.506 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5813, allocations: 3.984 kB / 1.506 GB, free: 3.773 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.5829, allocations: 1.071 MB / 1.508 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.583, allocations: 0 / 1.508 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.5836, allocations: 163.7 kB / 1.508 GB, free: 2.492 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.5841, allocations: 72.78 kB / 1.508 GB, free: 2.418 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.5842, allocations: 27.92 kB / 1.508 GB, free: 2.391 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.5863, allocations: 1.654 MB / 1.509 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5863, allocations: 0 / 1.509 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.5886, allocations: 0.9908 MB / 1.51 GB, free: 15.58 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.5891, allocations: 304.1 kB / 1.511 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.5893, allocations: 20.06 kB / 1.511 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.59, allocations: 75.86 kB / 1.511 GB, free: 15.17 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.5902, allocations: 68.84 kB / 1.511 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.5903, allocations: 39.97 kB / 1.511 GB, free: 15.06 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00086/0.5912, allocations: 0.5342 MB / 1.511 GB, free: 14.53 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5912, allocations: 0 / 1.511 GB, free: 14.53 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001067/0.5922, allocations: 390.8 kB / 1.512 GB, free: 14.15 MB / 1.217 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.004781/0.597, allocations: 2.047 MB / 1.514 GB, free: 12.25 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.599, allocations: 0.8274 MB / 1.515 GB, free: 11.41 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5991, allocations: 0 / 1.515 GB, free: 11.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.6001, allocations: 0.508 MB / 1.515 GB, free: 10.89 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.6017, allocations: 331.4 kB / 1.515 GB, free: 10.59 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.6152, allocations: 7.147 MB / 1.522 GB, free: 3.289 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/0.616, allocations: 1.114 MB / 1.523 GB, free: 2.148 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009574/0.617, allocations: 283.7 kB / 1.524 GB, free: 1.867 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007985/0.6178, allocations: 491.2 kB / 1.524 GB, free: 1.387 MB / 1.217 GB Notification: Performance of SimCode: time 1.102e-06/0.6178, allocations: 0 / 1.524 GB, free: 1.387 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09263/0.7104, allocations: 24.57 MB / 1.548 GB, free: 9.102 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.45, allocations: 12.61 kB / 1.548 GB, free: 9.094 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.12052401783876]