Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001646/0.001646, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.001925/0.001925, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.385/1.385, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.024/3.024, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 177] 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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_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.002002/0.002002, allocations: 71.31 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008359/0.3454, allocations: 6.031 MB / 1.354 GB, free: 3.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.5185, allocations: 154.2 MB / 1.504 GB, free: 9.152 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009934/0.5195, allocations: 23.81 kB / 1.504 GB, free: 9.129 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.5204, allocations: 253.6 kB / 1.504 GB, free: 8.879 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.5226, allocations: 0.6492 MB / 1.505 GB, free: 8.23 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.5248, allocations: 0.8927 MB / 1.506 GB, free: 7.344 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002096/0.5269, allocations: 1.669 MB / 1.508 GB, free: 5.668 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.528, allocations: 0.6199 MB / 1.508 GB, free: 5.004 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009372/0.5289, allocations: 0.6345 MB / 1.509 GB, free: 4.367 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009065/0.5298, allocations: 0.669 MB / 1.509 GB, free: 3.695 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.5301, allocations: 160 kB / 1.51 GB, free: 3.539 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.5312, allocations: 0.5425 MB / 1.51 GB, free: 2.996 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.5316, allocations: 382.7 kB / 1.511 GB, free: 2.621 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000763/0.5324, allocations: 0.7424 MB / 1.511 GB, free: 1.875 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.535, allocations: 2.089 MB / 1.513 GB, free: 15.78 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.535, allocations: 4 kB / 1.513 GB, free: 15.77 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.473e-06/0.535, allocations: 0 / 1.513 GB, free: 15.77 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.038e-05/0.535, allocations: 4 kB / 1.513 GB, free: 15.77 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00333/0.5383, allocations: 1.788 MB / 1.515 GB, free: 13.93 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.5384, allocations: 15.98 kB / 1.515 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/0.5386, allocations: 181.8 kB / 1.515 GB, free: 13.72 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.5401, allocations: 279.7 kB / 1.516 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.5414, allocations: 0.8876 MB / 1.516 GB, free: 12.52 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/0.5415, allocations: 94.41 kB / 1.516 GB, free: 12.42 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.5417, allocations: 116 kB / 1.517 GB, free: 12.31 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.5436, allocations: 1.198 MB / 1.518 GB, free: 11.05 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.5436, allocations: 0 / 1.518 GB, free: 11.05 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5437, allocations: 55.94 kB / 1.518 GB, free: 10.99 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.5438, allocations: 28 kB / 1.518 GB, free: 10.96 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.5459, allocations: 1.285 MB / 1.519 GB, free: 9.672 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005203/0.5511, allocations: 3.721 MB / 1.523 GB, free: 5.742 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.5527, allocations: 0.8197 MB / 1.524 GB, free: 4.914 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.5532, allocations: 294.6 kB / 1.524 GB, free: 4.621 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/0.5533, allocations: 32.61 kB / 1.524 GB, free: 4.59 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009362/0.5543, allocations: 0.512 MB / 1.524 GB, free: 4.066 MB / 1.217 GB Notification: Performance of pre-optimization done (n=87): time 3.186e-06/0.5543, allocations: 4 kB / 1.524 GB, free: 4.062 MB / 1.217 GB Notification: Performance of matching and sorting (n=87): time 0.003568/0.5578, allocations: 1.292 MB / 1.526 GB, free: 2.742 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.558, allocations: 192.9 kB / 1.526 GB, free: 2.512 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5592, allocations: 0.7589 MB / 1.527 GB, free: 1.742 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.063e-05/0.5592, allocations: 45.7 kB / 1.527 GB, free: 1.691 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.5597, allocations: 0.532 MB / 1.527 GB, free: 1.152 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.56, allocations: 297.5 kB / 1.527 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.5603, allocations: 162.6 kB / 1.528 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5604, allocations: 334 kB / 1.528 GB, free: 372 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.561, allocations: 269.8 kB / 1.528 GB, free: 100 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/0.5618, allocations: 394.6 kB / 1.528 GB, free: 15.68 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.563, allocations: 0.6282 MB / 1.529 GB, free: 15.04 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.563, allocations: 0 / 1.529 GB, free: 15.04 MB / 1.232 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002113/0.5651, allocations: 0.8803 MB / 1.53 GB, free: 14.15 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.5652, allocations: 9.969 kB / 1.53 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5652, allocations: 8.094 kB / 1.53 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.5658, allocations: 76.78 kB / 1.53 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/0.5665, allocations: 175.7 kB / 1.53 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.5687, allocations: 1.625 MB / 1.532 GB, free: 12.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.5694, allocations: 103.4 kB / 1.532 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.5695, allocations: 31.98 kB / 1.532 GB, free: 11.98 MB / 1.232 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.0004642/0.57, allocations: 301.5 kB / 1.532 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.5702, allocations: 99.34 kB / 1.532 GB, free: 11.58 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.5728, allocations: 1.126 MB / 1.533 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.5728, allocations: 8 kB / 1.533 GB, free: 10.44 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5728, allocations: 11.92 kB / 1.533 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.5728, allocations: 4.094 kB / 1.533 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.5742, allocations: 1.064 MB / 1.534 GB, free: 9.316 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.5742, allocations: 4 kB / 1.534 GB, free: 9.312 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.5749, allocations: 151.8 kB / 1.535 GB, free: 9.164 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/0.5753, allocations: 80.77 kB / 1.535 GB, free: 9.082 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.5754, allocations: 27.92 kB / 1.535 GB, free: 9.055 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.5775, allocations: 1.658 MB / 1.536 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5775, allocations: 0 / 1.536 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.5797, allocations: 0.9946 MB / 1.537 GB, free: 6.234 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.5802, allocations: 296.1 kB / 1.538 GB, free: 5.926 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.5804, allocations: 20 kB / 1.538 GB, free: 5.906 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/0.581, allocations: 67.86 kB / 1.538 GB, free: 5.84 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.5812, allocations: 76.89 kB / 1.538 GB, free: 5.762 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/0.5813, allocations: 35.98 kB / 1.538 GB, free: 5.727 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007838/0.5821, allocations: 0.5341 MB / 1.538 GB, free: 5.195 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.5821, allocations: 3.938 kB / 1.538 GB, free: 5.191 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009803/0.583, allocations: 390.9 kB / 1.539 GB, free: 4.809 MB / 1.232 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.004278/0.5873, allocations: 2.055 MB / 1.541 GB, free: 2.906 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.5893, allocations: 0.8195 MB / 1.541 GB, free: 2.07 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.5893, allocations: 192 / 1.541 GB, free: 2.07 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.5904, allocations: 0.508 MB / 1.542 GB, free: 1.555 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.5917, allocations: 323.8 kB / 1.542 GB, free: 1.262 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.6038, allocations: 7.156 MB / 1.549 GB, free: 9.949 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.6045, allocations: 1.106 MB / 1.55 GB, free: 8.816 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008362/0.6054, allocations: 287.7 kB / 1.551 GB, free: 8.531 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007325/0.6061, allocations: 495.2 kB / 1.551 GB, free: 8.047 MB / 1.248 GB Notification: Performance of SimCode: time 7.12e-07/0.6061, allocations: 0 / 1.551 GB, free: 8.047 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06283/0.6689, allocations: 24.57 MB / 1.575 GB, free: 15.79 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.13, allocations: 5.812 kB / 1.575 GB, free: 15.78 MB / 1.279 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv. Warning: Get data of variable HDifWal.H from file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.642119718017057]