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.001452/0.001452, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002188/0.002188, allocations: 215.6 kB / 22.25 MB, free: 5.074 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 8.004 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.255/3.255, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.002002/0.002002, allocations: 66.38 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3914, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008222/0.3996, allocations: 6.064 MB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.583, allocations: 154.4 MB / 1.509 GB, free: 7.426 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.5842, allocations: 23.81 kB / 1.51 GB, free: 7.402 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.585, allocations: 245.7 kB / 1.51 GB, free: 7.16 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.5874, allocations: 0.6541 MB / 1.51 GB, free: 6.508 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.5898, allocations: 0.9144 MB / 1.511 GB, free: 5.598 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.5923, allocations: 1.673 MB / 1.513 GB, free: 3.918 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.5934, allocations: 0.6011 MB / 1.514 GB, free: 3.277 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.5945, allocations: 0.6423 MB / 1.514 GB, free: 2.633 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/0.5955, allocations: 0.6729 MB / 1.515 GB, free: 1.957 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.5957, allocations: 159.9 kB / 1.515 GB, free: 1.801 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.597, allocations: 0.5465 MB / 1.515 GB, free: 1.254 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/0.5973, allocations: 382.7 kB / 1.516 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007555/0.5981, allocations: 0.7385 MB / 1.517 GB, free: 140 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.601, allocations: 2.101 MB / 1.519 GB, free: 14.03 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.601, allocations: 0 / 1.519 GB, free: 14.03 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.724e-06/0.601, allocations: 0 / 1.519 GB, free: 14.03 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.601, allocations: 0 / 1.519 GB, free: 14.03 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.003286/0.6043, allocations: 1.721 MB / 1.52 GB, free: 12.27 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6044, allocations: 8.031 kB / 1.52 GB, free: 12.26 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.6046, allocations: 181.8 kB / 1.52 GB, free: 12.07 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.6061, allocations: 271.8 kB / 1.521 GB, free: 11.8 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.6076, allocations: 0.8233 MB / 1.522 GB, free: 10.95 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/0.6077, allocations: 86.41 kB / 1.522 GB, free: 10.86 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.6078, allocations: 116 kB / 1.522 GB, free: 10.75 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.6098, allocations: 1.202 MB / 1.523 GB, free: 9.484 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.6099, allocations: 3.938 kB / 1.523 GB, free: 9.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.61, allocations: 52 kB / 1.523 GB, free: 9.43 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.61, allocations: 36 kB / 1.523 GB, free: 9.395 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.6121, allocations: 1.281 MB / 1.524 GB, free: 8.105 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005776/0.6178, allocations: 3.651 MB / 1.528 GB, free: 4.246 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.6194, allocations: 0.826 MB / 1.529 GB, free: 3.418 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.62, allocations: 294.7 kB / 1.529 GB, free: 3.125 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-05/0.6201, allocations: 28.61 kB / 1.529 GB, free: 3.098 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009366/0.621, allocations: 0.5237 MB / 1.529 GB, free: 2.559 MB / 1.217 GB Notification: Performance of pre-optimization done (n=87): time 2.404e-06/0.621, allocations: 0 / 1.529 GB, free: 2.559 MB / 1.217 GB Notification: Performance of matching and sorting (n=87): time 0.003804/0.6248, allocations: 1.213 MB / 1.531 GB, free: 1.344 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.625, allocations: 188.9 kB / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.6262, allocations: 0.7589 MB / 1.532 GB, free: 352 kB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.6263, allocations: 45.7 kB / 1.532 GB, free: 300 kB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/0.6268, allocations: 0.5361 MB / 1.532 GB, free: 15.75 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.6271, allocations: 297.5 kB / 1.532 GB, free: 15.45 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.6274, allocations: 158.6 kB / 1.533 GB, free: 15.29 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6276, allocations: 337.9 kB / 1.533 GB, free: 14.96 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.6281, allocations: 269.9 kB / 1.533 GB, free: 14.7 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.6288, allocations: 386.5 kB / 1.533 GB, free: 14.29 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.63, allocations: 0.6359 MB / 1.534 GB, free: 13.64 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.63, allocations: 0 / 1.534 GB, free: 13.64 MB / 1.232 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002205/0.6322, allocations: 0.8804 MB / 1.535 GB, free: 12.75 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.6322, allocations: 15.88 kB / 1.535 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.6322, allocations: 0 / 1.535 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.6329, allocations: 80.86 kB / 1.535 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.6335, allocations: 167.7 kB / 1.535 GB, free: 12.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.6358, allocations: 1.523 MB / 1.537 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008731/0.6367, allocations: 105.3 kB / 1.537 GB, free: 10.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.6367, allocations: 31.98 kB / 1.537 GB, free: 10.71 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.0006129/0.6373, allocations: 301.5 kB / 1.537 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.6376, allocations: 103.3 kB / 1.537 GB, free: 10.31 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.6401, allocations: 1.134 MB / 1.538 GB, free: 9.164 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.6401, allocations: 12 kB / 1.538 GB, free: 9.152 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6401, allocations: 0 / 1.538 GB, free: 9.152 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6401, allocations: 3.984 kB / 1.538 GB, free: 9.148 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.6416, allocations: 1.039 MB / 1.539 GB, free: 8.066 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6416, allocations: 0 / 1.539 GB, free: 8.066 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.6422, allocations: 151.8 kB / 1.54 GB, free: 7.918 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.6426, allocations: 72.78 kB / 1.54 GB, free: 7.844 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.6427, allocations: 31.91 kB / 1.54 GB, free: 7.812 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.6447, allocations: 1.559 MB / 1.541 GB, free: 6.129 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6447, allocations: 0 / 1.541 GB, free: 6.129 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.6468, allocations: 0.9907 MB / 1.542 GB, free: 5.117 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005326/0.6474, allocations: 223 kB / 1.542 GB, free: 4.898 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.6475, allocations: 27.94 kB / 1.542 GB, free: 4.871 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.6482, allocations: 67.86 kB / 1.542 GB, free: 4.805 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.6483, allocations: 72.86 kB / 1.542 GB, free: 4.734 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.6484, allocations: 39.92 kB / 1.543 GB, free: 4.695 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007538/0.6491, allocations: 0.5381 MB / 1.543 GB, free: 4.16 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6491, allocations: 0 / 1.543 GB, free: 4.16 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009652/0.6501, allocations: 386.9 kB / 1.543 GB, free: 3.781 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.004268/0.6544, allocations: 2.06 MB / 1.545 GB, free: 1.871 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.6562, allocations: 0.8236 MB / 1.546 GB, free: 1.035 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6562, allocations: 0 / 1.546 GB, free: 1.035 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.6572, allocations: 0.5041 MB / 1.547 GB, free: 0.5195 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.6586, allocations: 322.7 kB / 1.547 GB, free: 232 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.6712, allocations: 7.15 MB / 1.554 GB, free: 8.922 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.672, allocations: 1.118 MB / 1.555 GB, free: 7.777 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009612/0.673, allocations: 279.7 kB / 1.555 GB, free: 7.5 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/0.6737, allocations: 495.2 kB / 1.556 GB, free: 7.016 MB / 1.248 GB Notification: Performance of SimCode: time 1.112e-06/0.6737, allocations: 0 / 1.556 GB, free: 7.016 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08285/0.7565, allocations: 25.16 MB / 1.58 GB, free: 14.07 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.49, allocations: 5.266 kB / 1.58 GB, free: 14.07 MB / 1.279 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.65576775699992]