Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.001874/0.001874, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.002452/0.002452, allocations: 218.4 kB / 22.26 MB, free: 5.219 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 8.012 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.278/3.278, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.001979/0.001979, allocations: 73.88 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3518, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007158/0.359, allocations: 4.942 MB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1913/0.5503, allocations: 154.1 MB / 1.508 GB, free: 8.75 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.5513, allocations: 23.81 kB / 1.508 GB, free: 8.727 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.5519, allocations: 194.2 kB / 1.508 GB, free: 8.535 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.5537, allocations: 0.559 MB / 1.509 GB, free: 7.977 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.5557, allocations: 0.8751 MB / 1.51 GB, free: 7.109 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.5573, allocations: 1.401 MB / 1.511 GB, free: 5.699 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.5581, allocations: 417.9 kB / 1.512 GB, free: 5.266 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007013/0.5588, allocations: 0.4945 MB / 1.512 GB, free: 4.77 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006599/0.5594, allocations: 0.5073 MB / 1.513 GB, free: 4.262 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5596, allocations: 120 kB / 1.513 GB, free: 4.145 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.5606, allocations: 0.5113 MB / 1.513 GB, free: 3.633 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.5609, allocations: 303 kB / 1.513 GB, free: 3.336 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.5615, allocations: 0.5558 MB / 1.514 GB, free: 2.777 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.5636, allocations: 1.689 MB / 1.516 GB, free: 1.082 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.5636, allocations: 0 / 1.516 GB, free: 1.082 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5636, allocations: 0 / 1.516 GB, free: 1.082 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.5637, allocations: 0 / 1.516 GB, free: 1.082 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002797/0.5665, allocations: 1.423 MB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5665, allocations: 8.031 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.5667, allocations: 131.4 kB / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.5681, allocations: 232 kB / 1.517 GB, free: 15.26 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.5694, allocations: 0.7102 MB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.5695, allocations: 69.98 kB / 1.518 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.5696, allocations: 80 kB / 1.518 GB, free: 14.38 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5711, allocations: 0.9067 MB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.5712, allocations: 0 / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.5712, allocations: 39.98 kB / 1.519 GB, free: 13.39 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.5713, allocations: 24 kB / 1.519 GB, free: 13.37 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.5731, allocations: 1.1 MB / 1.52 GB, free: 12.26 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.5774, allocations: 2.697 MB / 1.523 GB, free: 9.438 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.579, allocations: 0.756 MB / 1.524 GB, free: 8.672 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.5796, allocations: 278.7 kB / 1.524 GB, free: 8.395 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.301e-05/0.5797, allocations: 36.61 kB / 1.524 GB, free: 8.359 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000935/0.5806, allocations: 491.1 kB / 1.524 GB, free: 7.859 MB / 1.217 GB Notification: Performance of pre-optimization done (n=80): time 2.455e-06/0.5806, allocations: 0 / 1.524 GB, free: 7.859 MB / 1.217 GB Notification: Performance of matching and sorting (n=80): time 0.003459/0.5841, allocations: 1.127 MB / 1.525 GB, free: 6.727 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/0.5842, allocations: 196.6 kB / 1.526 GB, free: 6.492 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.5854, allocations: 0.649 MB / 1.526 GB, free: 5.836 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-05/0.5855, allocations: 41.7 kB / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/0.586, allocations: 409 kB / 1.527 GB, free: 5.383 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.5863, allocations: 269.7 kB / 1.527 GB, free: 5.117 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.5866, allocations: 154.6 kB / 1.527 GB, free: 4.957 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.5868, allocations: 386.7 kB / 1.528 GB, free: 4.57 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.5873, allocations: 245.9 kB / 1.528 GB, free: 4.332 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.588, allocations: 362.6 kB / 1.528 GB, free: 3.953 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.5891, allocations: 0.5956 MB / 1.529 GB, free: 3.344 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5891, allocations: 0 / 1.529 GB, free: 3.344 MB / 1.217 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002034/0.5911, allocations: 0.8062 MB / 1.529 GB, free: 2.531 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5912, allocations: 4 kB / 1.529 GB, free: 2.527 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5912, allocations: 4 kB / 1.529 GB, free: 2.523 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.5918, allocations: 92.75 kB / 1.53 GB, free: 2.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.5924, allocations: 151.8 kB / 1.53 GB, free: 2.281 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.5947, allocations: 1.525 MB / 1.531 GB, free: 0.6367 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.5954, allocations: 83.52 kB / 1.531 GB, free: 0.5547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.5954, allocations: 32.05 kB / 1.531 GB, free: 0.5234 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 (87): * Single equations (assignments): 86 * 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.0004762/0.5959, allocations: 270.3 kB / 1.532 GB, free: 256 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.5961, allocations: 87.62 kB / 1.532 GB, free: 168 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.5985, allocations: 1.062 MB / 1.533 GB, free: 15.08 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5985, allocations: 8 kB / 1.533 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5985, allocations: 3.938 kB / 1.533 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.5985, allocations: 3.984 kB / 1.533 GB, free: 15.06 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.5997, allocations: 0.8832 MB / 1.534 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5997, allocations: 0 / 1.534 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.6003, allocations: 151.8 kB / 1.534 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004147/0.6007, allocations: 68.78 kB / 1.534 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.6007, allocations: 23.98 kB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.6027, allocations: 1.555 MB / 1.535 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6027, allocations: 3.938 kB / 1.535 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.6047, allocations: 0.9361 MB / 1.536 GB, free: 11.26 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.6052, allocations: 203.1 kB / 1.536 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.6053, allocations: 20 kB / 1.536 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.6059, allocations: 63.92 kB / 1.536 GB, free: 10.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.606, allocations: 80.8 kB / 1.537 GB, free: 10.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.6061, allocations: 27.98 kB / 1.537 GB, free: 10.87 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006444/0.6067, allocations: 483 kB / 1.537 GB, free: 10.4 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6067, allocations: 4 kB / 1.537 GB, free: 10.4 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008647/0.6076, allocations: 323.2 kB / 1.537 GB, free: 10.08 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 (91): * Single equations (assignments): 85 * 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.004151/0.6117, allocations: 1.979 MB / 1.539 GB, free: 8.258 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.6134, allocations: 0.7688 MB / 1.54 GB, free: 7.477 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6134, allocations: 0 / 1.54 GB, free: 7.477 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009293/0.6144, allocations: 0.4886 MB / 1.541 GB, free: 6.973 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6156, allocations: 304.2 kB / 1.541 GB, free: 6.699 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.6265, allocations: 6.22 MB / 1.547 GB, free: 332 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.6273, allocations: 1.027 MB / 1.548 GB, free: 15.27 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008771/0.6282, allocations: 262.8 kB / 1.548 GB, free: 15 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/0.6288, allocations: 383.3 kB / 1.549 GB, free: 14.63 MB / 1.248 GB Notification: Performance of SimCode: time 1.423e-06/0.6288, allocations: 0 / 1.549 GB, free: 14.63 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06573/0.6945, allocations: 22.42 MB / 1.57 GB, free: 8.441 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.65, allocations: 3.984 kB / 1.57 GB, free: 8.438 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.79742146300032]