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.001931/0.001931, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002133/0.002133, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.793 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.287/3.287, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.001938/0.001938, allocations: 67.67 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3711, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008794/0.3799, allocations: 5.358 MB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5593, allocations: 132.9 MB / 1.498 GB, free: 3.293 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.5605, allocations: 27.81 kB / 1.498 GB, free: 3.266 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.5616, allocations: 241.7 kB / 1.499 GB, free: 3.027 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.5644, allocations: 0.6534 MB / 1.499 GB, free: 2.375 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.5672, allocations: 0.8988 MB / 1.5 GB, free: 1.48 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002675/0.5699, allocations: 1.665 MB / 1.502 GB, free: 15.81 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.5714, allocations: 0.5854 MB / 1.502 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.5727, allocations: 0.6463 MB / 1.503 GB, free: 14.54 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.5739, allocations: 0.5831 MB / 1.504 GB, free: 13.95 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004971/0.5744, allocations: 156 kB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.5759, allocations: 0.5152 MB / 1.504 GB, free: 13.28 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005804/0.5765, allocations: 386.7 kB / 1.505 GB, free: 12.9 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.5776, allocations: 0.5949 MB / 1.505 GB, free: 12.3 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.5811, allocations: 2.109 MB / 1.507 GB, free: 10.19 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5811, allocations: 0 / 1.507 GB, free: 10.19 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5811, allocations: 4 kB / 1.507 GB, free: 10.18 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.491e-05/0.5812, allocations: 0 / 1.507 GB, free: 10.18 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004016/0.5852, allocations: 1.713 MB / 1.509 GB, free: 8.434 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5853, allocations: 12.03 kB / 1.509 GB, free: 8.422 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003/0.5856, allocations: 181.8 kB / 1.509 GB, free: 8.234 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.5872, allocations: 275.7 kB / 1.509 GB, free: 7.965 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.589, allocations: 0.8195 MB / 1.51 GB, free: 7.117 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.859e-05/0.5891, allocations: 86.41 kB / 1.51 GB, free: 7.031 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.5893, allocations: 120 kB / 1.51 GB, free: 6.914 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.5919, allocations: 1.453 MB / 1.512 GB, free: 5.336 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.5919, allocations: 0 / 1.512 GB, free: 5.336 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.592, allocations: 48 kB / 1.512 GB, free: 5.289 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.5921, allocations: 28 kB / 1.512 GB, free: 5.262 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.5944, allocations: 1.246 MB / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005725/0.6002, allocations: 2.79 MB / 1.516 GB, free: 1.148 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.6018, allocations: 0.8099 MB / 1.517 GB, free: 340 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.6024, allocations: 310.7 kB / 1.517 GB, free: 28 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.969e-05/0.6025, allocations: 16.64 kB / 1.517 GB, free: 12 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.6035, allocations: 0.6217 MB / 1.517 GB, free: 15.35 MB / 1.217 GB Notification: Performance of pre-optimization done (n=87): time 2.534e-06/0.6035, allocations: 0 / 1.517 GB, free: 15.35 MB / 1.217 GB Notification: Performance of matching and sorting (n=87): time 0.003559/0.6071, allocations: 1.215 MB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.6072, allocations: 192.9 kB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.6085, allocations: 0.7666 MB / 1.52 GB, free: 13.11 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/0.6086, allocations: 41.7 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.6091, allocations: 0.5359 MB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.6094, allocations: 301.4 kB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.6097, allocations: 154.6 kB / 1.521 GB, free: 12.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6099, allocations: 338 kB / 1.521 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/0.6104, allocations: 269.9 kB / 1.521 GB, free: 11.47 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.6112, allocations: 0.4991 MB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.6124, allocations: 0.6398 MB / 1.522 GB, free: 10.26 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6124, allocations: 0 / 1.522 GB, free: 10.26 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002168/0.6146, allocations: 0.8764 MB / 1.523 GB, free: 9.375 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6146, allocations: 11.94 kB / 1.523 GB, free: 9.363 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.6146, allocations: 0 / 1.523 GB, free: 9.363 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.6152, allocations: 84.86 kB / 1.523 GB, free: 9.277 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.6159, allocations: 167.8 kB / 1.523 GB, free: 9.113 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.6182, allocations: 1.519 MB / 1.525 GB, free: 7.473 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.619, allocations: 103.4 kB / 1.525 GB, free: 7.371 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6191, allocations: 31.98 kB / 1.525 GB, free: 7.34 MB / 1.217 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.0005987/0.6197, allocations: 293.6 kB / 1.525 GB, free: 7.043 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.62, allocations: 99.39 kB / 1.525 GB, free: 6.945 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.6227, allocations: 1.134 MB / 1.526 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6227, allocations: 8 kB / 1.526 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6227, allocations: 4 kB / 1.527 GB, free: 5.789 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6227, allocations: 3.984 kB / 1.527 GB, free: 5.785 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.6242, allocations: 0.8951 MB / 1.527 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6242, allocations: 0 / 1.527 GB, free: 4.848 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/0.6249, allocations: 163.7 kB / 1.528 GB, free: 4.688 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004376/0.6253, allocations: 68.78 kB / 1.528 GB, free: 4.617 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/0.6254, allocations: 31.86 kB / 1.528 GB, free: 4.586 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.6275, allocations: 1.543 MB / 1.529 GB, free: 2.922 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6275, allocations: 4.062 kB / 1.529 GB, free: 2.918 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.6298, allocations: 0.9868 MB / 1.53 GB, free: 1.91 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005876/0.6304, allocations: 238.9 kB / 1.53 GB, free: 1.676 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.6306, allocations: 19.94 kB / 1.53 GB, free: 1.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007107/0.6313, allocations: 67.86 kB / 1.53 GB, free: 1.59 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.6314, allocations: 77 kB / 1.53 GB, free: 1.512 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.081e-05/0.6315, allocations: 35.98 kB / 1.531 GB, free: 1.477 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008566/0.6324, allocations: 0.5341 MB / 1.531 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6324, allocations: 0 / 1.531 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001081/0.6335, allocations: 398.9 kB / 1.531 GB, free: 0.5547 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.004502/0.638, allocations: 2.08 MB / 1.533 GB, free: 14.66 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.6398, allocations: 0.8156 MB / 1.534 GB, free: 13.83 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6398, allocations: 4 kB / 1.534 GB, free: 13.82 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.6409, allocations: 0.5159 MB / 1.535 GB, free: 13.3 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.6424, allocations: 326.8 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.6577, allocations: 7.138 MB / 1.542 GB, free: 5.707 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.6584, allocations: 0.5224 MB / 1.543 GB, free: 5.152 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001021/0.6594, allocations: 283.7 kB / 1.543 GB, free: 4.871 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007915/0.6602, allocations: 495.2 kB / 1.543 GB, free: 4.387 MB / 1.232 GB Notification: Performance of SimCode: time 1.373e-06/0.6602, allocations: 0 / 1.543 GB, free: 4.387 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07187/0.7321, allocations: 26.24 MB / 1.569 GB, free: 10.48 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.62, allocations: 19.8 kB / 1.569 GB, free: 10.46 MB / 1.264 GB " [Timeout remaining time 285] (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: 21.80031961388886]